How can i get this fields without other unique fields like uuid?
findAll: it returns all items and i cannot get "last insert ids" without query
or how can i get conditions that enables me to get last insert items.
Muddy
Muddy Dixon
unread,
Jun 4, 2014, 10:58:31 PM6/4/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sequ...@googlegroups.com
Oops,
I got to resolve it.
with Option `hooks: true`.
Mick Hansen
unread,
Jun 5, 2014, 3:03:04 AM6/5/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Muddy Dixon, sequ...@googlegroups.com
It's generally not possible to get generated id's for bulkCreate since it will use a single insert in most cases (apparently hooks: true works around this as you've discovered, but that might change in master).