Add validation of input parameters as unquoted MariaDB identifiers, and document the regex that does it. Accept a narrower interface (Queryer) for `Insert()`. Take a list of fields rather than a string containing multiple fields, to make validation simpler. Rename retCol to returningColumn. Document safety properties and requirements. |
||
|---|---|---|
| .. | ||
| gorm.go | ||
| gorm_test.go | ||
| interfaces.go | ||
| map.go | ||
| map_test.go | ||
| multi.go | ||
| multi_test.go | ||
| qmarks.go | ||
| qmarks_test.go | ||
| rollback.go | ||
| rollback_test.go | ||
| transaction.go | ||