sdispater / orator

The Orator ORM provides a simple yet beautiful ActiveRecord implementation.

Home Page:https://orator-orm.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There is bug when saving invalid data, id column increases by itself.

ShahinZeynalov opened this issue · comments

When I've tried to save invalid data, the id column increases and after correcting the data and saving it, id column shows higher number.

This is correct. This is how most databases handle primary keys and failed transactions