1
0

querier.go 833 B

12345678910111213141516171819202122232425
  1. // Code generated by sqlc. DO NOT EDIT.
  2. // versions:
  3. // sqlc v1.23.0
  4. package ondeck
  5. import (
  6. "context"
  7. "database/sql"
  8. )
  9. type Querier interface {
  10. CreateCity(ctx context.Context, arg CreateCityParams) error
  11. CreateVenue(ctx context.Context, arg CreateVenueParams) (sql.Result, error)
  12. DeleteVenue(ctx context.Context, arg DeleteVenueParams) error
  13. GetCity(ctx context.Context, slug string) (City, error)
  14. GetVenue(ctx context.Context, arg GetVenueParams) (Venue, error)
  15. ListCities(ctx context.Context) ([]City, error)
  16. ListVenues(ctx context.Context, city string) ([]Venue, error)
  17. UpdateCityName(ctx context.Context, arg UpdateCityNameParams) error
  18. UpdateVenueName(ctx context.Context, arg UpdateVenueNameParams) error
  19. VenueCountByCity(ctx context.Context) ([]VenueCountByCityRow, error)
  20. }
  21. var _ Querier = (*Queries)(nil)