-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathQueries.kt
More file actions
52 lines (38 loc) · 1.18 KB
/
Queries.kt
File metadata and controls
52 lines (38 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Code generated by sqlc. DO NOT EDIT.
// versions:
// sqlc v1.28.0
package com.example.ondeck.postgresql
import java.sql.Connection
import java.sql.SQLException
import java.sql.Statement
import java.sql.Types
import java.time.LocalDateTime
interface Queries {
@Throws(SQLException::class)
fun createCity(name: String, slug: String): City?
@Throws(SQLException::class)
fun createVenue(
slug: String,
name: String,
city: String,
spotifyPlaylist: String,
status: Status,
statuses: List<Status>,
tags: List<String>): Int?
@Throws(SQLException::class)
fun deleteVenue(slug: String)
@Throws(SQLException::class)
fun getCity(slug: String): City?
@Throws(SQLException::class)
fun getVenue(slug: String, city: String): Venue?
@Throws(SQLException::class)
fun listCities(): List<City>
@Throws(SQLException::class)
fun listVenues(city: String): List<Venue>
@Throws(SQLException::class)
fun updateCityName(name: String, slug: String)
@Throws(SQLException::class)
fun updateVenueName(name: String, slug: String): Int?
@Throws(SQLException::class)
fun venueCountByCity(): List<VenueCountByCityRow>
}