Uses of Interface
io.ebean.InsertOptions
Packages that use InsertOptions
-
Uses of InsertOptions in io.ebean
Fields in io.ebean declared as InsertOptionsModifier and TypeFieldDescriptionstatic final InsertOptions
InsertOptions.ON_CONFLICT_NOTHING
Use ON CONFLICT DO NOTHING with automatic determination of the unique columns to conflict on.static final InsertOptions
InsertOptions.ON_CONFLICT_UPDATE
Use ON CONFLICT UPDATE with automatic determination of the unique columns to conflict on.Methods in io.ebean that return InsertOptionsModifier and TypeMethodDescriptionInsertOptions.Builder.build()
Build and return the insert options.Methods in io.ebean with parameters of type InsertOptionsModifier and TypeMethodDescriptionvoid
Database.insert
(Object bean, InsertOptions insertOptions) Insert the bean with options (ON CONFLICT DO UPDATE | DO NOTHING).void
Database.insert
(Object bean, InsertOptions insertOptions, Transaction transaction) Insert the beans with options (ON CONFLICT DO UPDATE | DO NOTHING) and transaction.void
Database.insertAll
(Collection<?> beans, InsertOptions options) Insert the beans with options - typically ON CONFLICT DO UPDATE | DO NOTHING.void
Database.insertAll
(Collection<?> beans, InsertOptions options, Transaction transaction) Insert the beans with options (ON CONFLICT DO UPDATE | DO NOTHING) and transaction.