j0sh / ocaml-gensqlite

OCaml ppx preprocessor to generate SQLite3 prepared statements and query functions
Other
12 stars 2 forks source link

sigil for last inserted rowid #2

Open j0sh opened 9 years ago

j0sh commented 9 years ago

Adding a sigil or some other built-in support to return the last inserted rowid would avoid having to carry the DB handle around in the application alongside gensqlite's generated query functions.