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