3 ms·
In most ORM apps you need to pre-allocate the integers to build the references in the object graph before actually executing these inserts. Doesn't this carry a
by The_Colonel 3y ago
In most ORM apps you need to pre-allocate the integers to build the references in the object graph before actually executing these inserts. Doesn't this carry a performance penalty?
- sgarland 3y agoI know Django gives you an auto-incrementing integer field named id even if you don’t add one to your model. I have no idea about others, but I would hope they aren’t doing work the DB is already doing for you.
- stanleydrew 3y ago> but I would hope they aren’t doing work the DB is already doing for you. Sadly this is very much a thing that ORMs do all the time.