You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
812 B
Go

// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.30.0
package db
import (
"context"
"database/sql"
)
type Querier interface {
//CreateLocation
//
// insert INTO LOCATIONS (x,y,z,world) VALUES (?,?,?,?)
CreateLocation(ctx context.Context, arg CreateLocationParams) error
//GetLocation
//
// select id, x, y, z, world from locations where id = ? LIMIT 1
GetLocation(ctx context.Context, id int64) (Location, error)
//GetLocationExitsFrom
//
// select id, "to", "from" from exits where from = ? LIMIT 1
GetLocationExitsFrom(ctx context.Context, from sql.NullInt64) ([]Exit, error)
//GetLocationExitsTo
//
// select id, "to", "from" from exits where to = ? LIMIT 1
GetLocationExitsTo(ctx context.Context, to sql.NullInt64) ([]Exit, error)
}
var _ Querier = (*Queries)(nil)