Hi all. I need to insert a batch of 100 records in...
# orm-help
m
Hi all. I need to insert a batch of 100 records into a table. Then refer to them. That is, at least get an array of inserted records identifiers. And as a maximum - the entire record. Is it possible to do this with the
createMany
, or I can do it by multiple call of
create
only?
r
createMany
doesn't return record identifiers so you can do this with multiple
create.
👌 1
m
Thanks