You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Postgres allows you to create anonymous rows for use in queries. This is quite helpful when doing keyset pagination. The following SQL...
SELECT*FROM users
WHERE (userRank, id) > (10, 100)
is much nicer than...
SELECT*FROM users
WHERE userRank >10OR (userRank =10AND id >100)
The already-existing Composite type comes close, but it requires that the composite be named, instead of just an anonymous row. Would there be interest in support for this functionality in this library? I could try to make a patch if so.
The text was updated successfully, but these errors were encountered:
Postgres allows you to create anonymous rows for use in queries. This is quite helpful when doing keyset pagination. The following SQL...
is much nicer than...
The already-existing
Composite
type comes close, but it requires that the composite be named, instead of just an anonymous row. Would there be interest in support for this functionality in this library? I could try to make a patch if so.The text was updated successfully, but these errors were encountered: