querier.go 937 B

123456789101112131415161718192021222324252627
  1. // Code generated by sqlc. DO NOT EDIT.
  2. // versions:
  3. // sqlc v1.23.0
  4. package ondeck
  5. import (
  6. "context"
  7. )
  8. type Querier interface {
  9. // Create a new city. The slug must be unique.
  10. // This is the second line of the comment
  11. // This is the third line
  12. CreateCity(ctx context.Context, arg CreateCityParams) (City, error)
  13. CreateVenue(ctx context.Context, arg CreateVenueParams) (int32, error)
  14. DeleteVenue(ctx context.Context, slug string) error
  15. GetCity(ctx context.Context, slug string) (City, error)
  16. GetVenue(ctx context.Context, arg GetVenueParams) (Venue, error)
  17. ListCities(ctx context.Context) ([]City, error)
  18. ListVenues(ctx context.Context, city string) ([]Venue, error)
  19. UpdateCityName(ctx context.Context, arg UpdateCityNameParams) error
  20. UpdateVenueName(ctx context.Context, arg UpdateVenueNameParams) (int32, error)
  21. VenueCountByCity(ctx context.Context) ([]VenueCountByCityRow, error)
  22. }
  23. var _ Querier = (*Queries)(nil)