Skip to content

Commit 99a069a

Browse files
authored
feat: Add sqlc version to generated Kotlin code (#1512)
* feat: Add sqlc version to generated Kotlin code * Add version to all files
1 parent 51f1ba4 commit 99a069a

File tree

22 files changed

+51
-0
lines changed

22 files changed

+51
-0
lines changed

examples/kotlin/src/main/kotlin/com/example/authors/mysql/Models.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
2+
// versions:
3+
// sqlc v1.12.0
24

35
package com.example.authors.mysql
46

examples/kotlin/src/main/kotlin/com/example/authors/mysql/Queries.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
2+
// versions:
3+
// sqlc v1.12.0
24

35
package com.example.authors.mysql
46

examples/kotlin/src/main/kotlin/com/example/authors/mysql/QueriesImpl.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
2+
// versions:
3+
// sqlc v1.12.0
24

35
package com.example.authors.mysql
46

examples/kotlin/src/main/kotlin/com/example/authors/postgresql/Models.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
2+
// versions:
3+
// sqlc v1.12.0
24

35
package com.example.authors.postgresql
46

examples/kotlin/src/main/kotlin/com/example/authors/postgresql/Queries.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
2+
// versions:
3+
// sqlc v1.12.0
24

35
package com.example.authors.postgresql
46

examples/kotlin/src/main/kotlin/com/example/authors/postgresql/QueriesImpl.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
2+
// versions:
3+
// sqlc v1.12.0
24

35
package com.example.authors.postgresql
46

examples/kotlin/src/main/kotlin/com/example/booktest/mysql/Models.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
2+
// versions:
3+
// sqlc v1.12.0
24

35
package com.example.booktest.mysql
46

examples/kotlin/src/main/kotlin/com/example/booktest/mysql/Queries.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
2+
// versions:
3+
// sqlc v1.12.0
24

35
package com.example.booktest.mysql
46

examples/kotlin/src/main/kotlin/com/example/booktest/mysql/QueriesImpl.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
2+
// versions:
3+
// sqlc v1.12.0
24

35
package com.example.booktest.mysql
46

examples/kotlin/src/main/kotlin/com/example/booktest/postgresql/Models.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// Code generated by sqlc. DO NOT EDIT.
2+
// versions:
3+
// sqlc v1.12.0
24

35
package com.example.booktest.postgresql
46

0 commit comments

Comments
 (0)