MZanggl/adonis-lucid-update-or-create

filter by id with null value in table with an increment id

Opened this issue · 0 comments

how to make an increment id in existing data if i passing the first param with id null ?
when i pass {id: null} it cause the error. but if i passing 0 as the value of id {id: 0} it store id = 0 in db.