← Back to Stormify Documentation

create

fun <T : Any> create(item: T): T

Inserts item into its mapped table and returns the (possibly key-populated) entity.


fun <T : Any> create(items: Collection<T>): List<T>

Batch INSERT of items in a single round trip.