{"issue":{"state":"open","created_at":"2011-11-29T13:31:30Z","updated_at":"2011-11-29T13:31:30Z","user":{"gravatar_id":"274af5729c3caa8d5382f9980aa50cd6","id":1228047,"url":"https://api.github.com/users/macias","avatar_url":"https://secure.gravatar.com/avatar/274af5729c3caa8d5382f9980aa50cd6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"macias"},"comments":0,"body":"Currently SQ supports only (directly) forced insert. However it should be possible to allow insert in both modes.\r\n\r\nTable.forceInsert(record) <-- insert new record and pass all fields -- today it is insert\r\nTable.softInsert(record)  <-- insert new record, but pass fields except autoinc\r\n\r\nAll pieces are in place, you have AutoInc flags so it is possible to rule them out automatically. Currently it is possible to do \"soft\" insert but it requires each time quite work:\r\n* create and maintain correct projection -- this is redundant\r\n* inserts using tuples instead of class -- using named arguments (for clarity) is not possible\r\n","assignee":null,"id":2384377,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":27,"title":"Insert with autoincrement -- please support regular and forced insert","closed_at":null,"html_url":"https://github.com/szeiger/scala-query/issues/27","url":"https://api.github.com/repos/szeiger/scala-query/issues/27","milestone":null},"action":"opened"}