Postgres default sort by id - worldship

后端 未结 4 1841
粉色の甜心
粉色の甜心 2020-12-10 01:52

I need to setup worldship to pull from one of our postgres databases. I need to have it so that the packages are sorted by id. I have no way (that i am aware of) of having w

4条回答
  •  孤街浪徒
    2020-12-10 02:16

    You could eventually use a sorted index, which should guarantee you order of retrieved rows in case the query plan hits the index, or if you force it, but this approach will be more than circuitous :). ORDER BY clause is the way to go as mentioned already.

提交回复
热议问题