petersirka/nosql

What can I use to find a max id [QUESTION]

biomade opened this issue · 2 comments

I see in the sample code, in the documentation for the Builder that find can have builder.between();
what other operations can be done?
I am looking for a max or last.. so I can grab an id and then add one to it for a pseudo autoincrement.

I found it [the scalar call] but now I have a different question... along the same lines.
If I can get the max(id) how can I pass it to another insert call?

  • 1Q: All operations are noted in documentation.
  • 2Q: in your callback you have to create another call.