Complete lab2 grade 4 implementation and report
Application checks / application (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Daria0w0
2026-10-10 00:28:43 +03:00
parent 83e3810d33
commit c0ca56f208
24 changed files with 1107 additions and 137 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ func (s *PostgresStore) MessagePage(ctx context.Context, chatID string, limit in
query += ` AND (created_at,id)>($3,$4::uuid)`
args = append(args, after.CreatedAt, after.ID)
}
query += ` ORDER BY created_at,id LIMIT $2`
query += ` ORDER BY messages.created_at,messages.id LIMIT $2`
rows, err := s.pool.Query(ctx, query, args...)
if err != nil {
return nil, ErrUnavailable