I am using the following query in pg-promise:
SELECT id, title, price
FROM ${schema~}.ebooks
WHERE isbn = ${isbn};
pulling the data from pg with:
db.query(sql.ebooks.get, { isbn: isbn })
When I look at the row in pg they are in the order that I inserted them. The data does not have any ordering scheme (i cannot sort/order based on some column).
When using the query above, is it possible to get the data in the array to follow the row order in sequence?