Versions in this module Expand all Collapse all v0 v0.3.0 Dec 1, 2026 Changes in this version + const RecordsetCountByZone + const RecordsetGetAllWithStatus + const ZoneGetAll + type DBTX interface + ExecContext func(context.Context, string, ...interface{}) (sql.Result, error) + PrepareContext func(context.Context, string) (*sql.Stmt, error) + QueryContext func(context.Context, string, ...interface{}) (*sql.Rows, error) + QueryRowContext func(context.Context, string, ...interface{}) *sql.Row + type Queries struct + func New(db DBTX) *Queries + func (q *Queries) RecordsetCountByZone(ctx context.Context) ([]RecordsetCountByZoneRow, error) + func (q *Queries) RecordsetGetAllWithStatus(ctx context.Context) ([]RecordsetGetAllWithStatusRow, error) + func (q *Queries) WithTx(tx *sql.Tx) *Queries + func (q *Queries) ZoneGetAll(ctx context.Context) ([]ZoneGetAllRow, error) + type Record struct + ID string + RecordsetID string + Status string + type Recordset struct + ID string + Name string + Type string + ZoneID string + type RecordsetCountByZoneRow = recordsetCountByZoneRow + type RecordsetGetAllWithStatusRow = recordsetGetAllWithStatusRow + type Zone struct + Deleted string + ID string + Name string + Status string + TenantID sql.NullString + Type string + type ZoneGetAllRow = zoneGetAllRow