package
Version:
v0.0.0-...-3037a55
Opens a new window with list of versions in this module.
Published: Apr 10, 2024
License: EUPL-1.2
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Insert all struct fields of t in the table tbl.
Column names are taken from the db tag. Fields with the db tag set to "-" or
that have the ",noinsert" option will be skipped.
If a field has the ",id" option it will be set.
Update all fields that are changed between old and new.
No SQL is run if old and new are identical.
Returns a map of changes, as [2]any{oldValue, newValue}.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.