Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create[T any](ctx context.Context, p *TracerConnection, models []*T, opts ...option) (err error)
Create batch-inserts the given models into the database using a single INSERT statement. The models are either all created or none.
func OnConflictDoNothing ¶ added in v0.0.600
func OnConflictDoNothing() func(*createOptions)
Types ¶
type TracerConnection ¶
Click to show internal directories.
Click to hide internal directories.