Loading...
Saves an array of passed entities in specified order and transaction safe
This function returns void
var user = ormService.new("User"); populateModel(user); var user2 = ormService.new("User"); populateModel(user); ormService.saveAll( [user1,user2] );
Key
Type
Required
Default
Description
entities
array
Yes
---
The array of entities to persist
forceInsert
boolean
No
false
flush
transactional
true
Use ColdFusion transactions or not