putting db stuff aside for a bit
parent
c069782f32
commit
9781fb6736
@ -0,0 +1,31 @@
|
||||
// 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)
|
||||
Loading…
Reference in New Issue