Documentation ¶
Index ¶
Constants ¶
View Source
const ( TableFile = "file" TablePlace = "place" TableScheduledEvent = "scheduled_event" )
Variables ¶
View Source
var PSQL = sq.StatementBuilder.PlaceholderFormat(sq.Dollar)
Functions ¶
func RollbackTx ¶
Types ¶
type Queryable ¶
type Queryable interface { Exec(ctx context.Context, sqlizer Sqlizer) (pgconn.CommandTag, error) Get(ctx context.Context, dst interface{}, sqlizer Sqlizer) error Select(ctx context.Context, dst interface{}, sqlizer Sqlizer) error ExecRaw(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error) }
Click to show internal directories.
Click to hide internal directories.