MCPcopy
hub / github.com/go-gorp/gorp / IntegerAutoIncrInserter

Interface IntegerAutoIncrInserter

dialect.go:74–76  ·  view source on GitHub ↗

IntegerAutoIncrInserter is implemented by dialects that can perform inserts with automatically incremented integer primary keys. If the dialect can handle automatic assignment of more than just integers, see TargetedAutoIncrInserter.

Source from the content-addressed store, hash-verified

72// the dialect can handle automatic assignment of more than just
73// integers, see TargetedAutoIncrInserter.
74type IntegerAutoIncrInserter interface {
75 InsertAutoIncr(exec SqlExecutor, insertSql string, params ...interface{}) (int64, error)
76}
77
78// TargetedAutoIncrInserter is implemented by dialects that can
79// perform automatic assignment of any primary key type (i.e. strings

Callers 1

insertFunction · 0.65

Implementers 3

SqliteDialectdialect_sqlite.go
SqlServerDialectdialect_sqlserver.go
MySQLDialectdialect_mysql.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…