Documentation ¶
Index ¶
- Variables
- func InsertEdge(dbi DBI, node1ID, node2ID int64, edgeType string, args ...interface{}) error
- func InsertKV(dbi DBI, table string, args ...interface{}) (pgx.CommandTag, error)
- func InsertKVR(dbi DBI, table, returncol string, args ...interface{}) *pgx.Row
- func InsertNode(dbi DBI, nodeType string, args ...interface{}) (int64, error)
- func IsUniqueViolation(err error) bool
- func NewPgxPool(url string) (*pgx.ConnPool, error)
- func UpdateKV(dbi DBI, table string, s Set, w Where) (pgx.CommandTag, error)
- type DBI
- type Set
- type Where
Constants ¶
This section is empty.
Variables ¶
View Source
var _, Log = xlog.New("dbutil")
Functions ¶
func InsertEdge ¶
func IsUniqueViolation ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.