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
I need to get the last value inserted in my table. I saw node-persist provides a "first" method, but no "last" neither "reverse" option in the "OrderBy" method. I could use the sql request but it will not be compatible with Postgres and Oracle in this case. Is that something planned or do you have another solution ?
Thanks for your help,
Luc
The text was updated successfully, but these errors were encountered:
We've added last as well as updating the readme for the orderBy clause direction. The last function has not been published to npm but the orderBy is in the current version it just wasn't documented.
Hello,
I need to get the last value inserted in my table. I saw node-persist provides a "first" method, but no "last" neither "reverse" option in the "OrderBy" method. I could use the sql request but it will not be compatible with Postgres and Oracle in this case. Is that something planned or do you have another solution ?
Thanks for your help,
Luc
The text was updated successfully, but these errors were encountered: