NewCollectionUpsert creates a new [CollectionUpsert] form with initializer
config created from the provided [CoreApp] and [models.Collection] instances
(for create you could pass a pointer to an empty Collection - &models.Collection{}).
If you want to submit the form as part of a transaction,
you can change the default Dao via [SetDao()].
NewCollectionUpsert creates a new [CollectionUpsert] form with initializer config created from the provided [CoreApp] and [models.Collection] instances (for create you could pass a pointer to an empty Collection -
&models.Collection{}
).If you want to submit the form as part of a transaction, you can change the default Dao via [SetDao()].