Auto-Increment?

Oct 5, 2010 at 7:46 PM

is there a way to have auto-increment ID fields?

Oct 6, 2010 at 3:32 AM

Not right now.  If you would like to see this feature added, go ahead and add it to issue tracker page please.  Also include your ideal API.  I will try to accomodate any reasonable request.  I suspect it would look something line the following:

 

db.SetTableOption<T>(Options.AutoIncrement, true).  This will turn off the option for a table of type T.

db.GetNextId<T>(), where T would be the type of table.

 

Just off top of my head.