mirror of https://github.com/rocboss/paopao-ce
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
934 B
28 lines
934 B
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.16.0
|
|
|
|
package dbr
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
type Querier interface {
|
|
// Create a new city. The slug must be unique.
|
|
// This is the second line of the comment
|
|
// This is the third line
|
|
CreateCity(ctx context.Context, arg CreateCityParams) (City, error)
|
|
CreateVenue(ctx context.Context, arg CreateVenueParams) (int32, error)
|
|
DeleteVenue(ctx context.Context, slug string) error
|
|
GetCity(ctx context.Context, slug string) (City, error)
|
|
GetVenue(ctx context.Context, arg GetVenueParams) (Venue, error)
|
|
ListCities(ctx context.Context) ([]City, error)
|
|
ListVenues(ctx context.Context, city string) ([]Venue, error)
|
|
UpdateCityName(ctx context.Context, arg UpdateCityNameParams) error
|
|
UpdateVenueName(ctx context.Context, arg UpdateVenueNameParams) (int32, error)
|
|
VenueCountByCity(ctx context.Context) ([]VenueCountByCityRow, error)
|
|
}
|
|
|
|
var _ Querier = (*Queries)(nil)
|