Postgresql – How to use keyset pagination with ordering if the key is a string
Given a table that looks like the following: +---------------+----------+ |title |enabled | +---------------+----------+ |Four |N | |Two |N | |Three |N | |One |Y | |Five |Y | |Six |Y | +---------------+----------+ Using keyset pagination and sorting by enabled, how…