File tree 13 files changed +17
-17
lines changed
inflection_exclude_table_names
query_parameter_limit_two
query_parameter_limit_undefined
query_parameter_limit_zero
13 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 5
5
require (
6
6
github.com/google/go-cmp v0.6.0
7
7
github.com/jinzhu/inflection v1.0.0
8
- github.com/sqlc-dev/sqlc- go v1.22.1-0.20231102170509-ee94c710d92e
8
+ github.com/sqlc-dev/plugin-sdk- go v1.23.0
9
9
google.golang.org/protobuf v1.31.0
10
10
)
11
11
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
6
6
github.com/google/go-cmp v0.6.0 /go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY =
7
7
github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E =
8
8
github.com/jinzhu/inflection v1.0.0 /go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc =
9
- github.com/sqlc-dev/sqlc- go v1.22.1-0.20231102170509-ee94c710d92e h1:fgvOWVSJLVvl1ETExPEw2okhTj2kbxvAQ5ECLrAtWbQ =
10
- github.com/sqlc-dev/sqlc- go v1.22.1-0.20231102170509-ee94c710d92e /go.mod h1:SXs+GYtPBUfDJQWSOvcJesiAwj4HNfigK7EwzwpHNPk =
9
+ github.com/sqlc-dev/plugin-sdk- go v1.23.0 h1:iSeJhnXPlbDXlbzUEebw/DxsGzE9rdDJArl8Hvt0RMM =
10
+ github.com/sqlc-dev/plugin-sdk- go v1.23.0 /go.mod h1:I1r4THOfyETD+LI2gogN2LX8wCjwUZrgy/NU4In3llA =
11
11
golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14 =
12
12
golang.org/x/net v0.14.0 /go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI =
13
13
golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM =
Original file line number Diff line number Diff line change 3
3
- name : py
4
4
wasm :
5
5
url : file://../../../../bin/sqlc-gen-python.wasm
6
- sha256 : " c8c759e80b7d66c728cf9d37674f8f5c9cc33774afa789dbceee0e3446773458 "
6
+ sha256 : " a6c5d174c407007c3717eea36ff0882744346e6ba991f92f71d6ab2895204c0e "
7
7
sql :
8
8
- schema : schema.sql
9
9
queries : query.sql
Original file line number Diff line number Diff line change 3
3
- name : py
4
4
wasm :
5
5
url : file://../../../../bin/sqlc-gen-python.wasm
6
- sha256 : " c8c759e80b7d66c728cf9d37674f8f5c9cc33774afa789dbceee0e3446773458 "
6
+ sha256 : " a6c5d174c407007c3717eea36ff0882744346e6ba991f92f71d6ab2895204c0e "
7
7
sql :
8
8
- schema : schema.sql
9
9
queries : query.sql
Original file line number Diff line number Diff line change 3
3
- name : py
4
4
wasm :
5
5
url : file://../../../../bin/sqlc-gen-python.wasm
6
- sha256 : " c8c759e80b7d66c728cf9d37674f8f5c9cc33774afa789dbceee0e3446773458 "
6
+ sha256 : " a6c5d174c407007c3717eea36ff0882744346e6ba991f92f71d6ab2895204c0e "
7
7
sql :
8
8
- schema : schema.sql
9
9
queries : query.sql
Original file line number Diff line number Diff line change 3
3
- name : py
4
4
wasm :
5
5
url : file://../../../../bin/sqlc-gen-python.wasm
6
- sha256 : " c8c759e80b7d66c728cf9d37674f8f5c9cc33774afa789dbceee0e3446773458 "
6
+ sha256 : " a6c5d174c407007c3717eea36ff0882744346e6ba991f92f71d6ab2895204c0e "
7
7
sql :
8
8
- schema : schema.sql
9
9
queries : query.sql
Original file line number Diff line number Diff line change 3
3
- name : py
4
4
wasm :
5
5
url : file://../../../../bin/sqlc-gen-python.wasm
6
- sha256 : " c8c759e80b7d66c728cf9d37674f8f5c9cc33774afa789dbceee0e3446773458 "
6
+ sha256 : " a6c5d174c407007c3717eea36ff0882744346e6ba991f92f71d6ab2895204c0e "
7
7
sql :
8
8
- schema : schema.sql
9
9
queries : query.sql
Original file line number Diff line number Diff line change 3
3
- name : py
4
4
wasm :
5
5
url : file://../../../../bin/sqlc-gen-python.wasm
6
- sha256 : " c8c759e80b7d66c728cf9d37674f8f5c9cc33774afa789dbceee0e3446773458 "
6
+ sha256 : " a6c5d174c407007c3717eea36ff0882744346e6ba991f92f71d6ab2895204c0e "
7
7
sql :
8
8
- schema : schema.sql
9
9
queries : query.sql
Original file line number Diff line number Diff line change 3
3
- name : py
4
4
wasm :
5
5
url : file://../../../../bin/sqlc-gen-python.wasm
6
- sha256 : " c8c759e80b7d66c728cf9d37674f8f5c9cc33774afa789dbceee0e3446773458 "
6
+ sha256 : " a6c5d174c407007c3717eea36ff0882744346e6ba991f92f71d6ab2895204c0e "
7
7
sql :
8
8
- schema : schema.sql
9
9
queries : query.sql
Original file line number Diff line number Diff line change 3
3
- name : py
4
4
wasm :
5
5
url : file://../../../../bin/sqlc-gen-python.wasm
6
- sha256 : " c8c759e80b7d66c728cf9d37674f8f5c9cc33774afa789dbceee0e3446773458 "
6
+ sha256 : " a6c5d174c407007c3717eea36ff0882744346e6ba991f92f71d6ab2895204c0e "
7
7
sql :
8
8
- schema : schema.sql
9
9
queries : query.sql
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import (
10
10
"sort"
11
11
"strings"
12
12
13
- "github.com/sqlc-dev/sqlc -go/metadata"
14
- "github.com/sqlc-dev/sqlc -go/plugin"
15
- "github.com/sqlc-dev/sqlc -go/sdk"
13
+ "github.com/sqlc-dev/plugin-sdk -go/metadata"
14
+ "github.com/sqlc-dev/plugin-sdk -go/plugin"
15
+ "github.com/sqlc-dev/plugin-sdk -go/sdk"
16
16
17
17
pyast "github.com/sqlc-dev/sqlc-gen-python/internal/ast"
18
18
"github.com/sqlc-dev/sqlc-gen-python/internal/inflection"
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package python
3
3
import (
4
4
"log"
5
5
6
- "github.com/sqlc-dev/sqlc -go/plugin"
7
- "github.com/sqlc-dev/sqlc -go/sdk"
6
+ "github.com/sqlc-dev/plugin-sdk -go/plugin"
7
+ "github.com/sqlc-dev/plugin-sdk -go/sdk"
8
8
)
9
9
10
10
func postgresType (req * plugin.GenerateRequest , col * plugin.Column ) string {
Original file line number Diff line number Diff line change 1
1
package main
2
2
3
3
import (
4
- "github.com/sqlc-dev/sqlc -go/codegen"
4
+ "github.com/sqlc-dev/plugin-sdk -go/codegen"
5
5
6
6
python "github.com/sqlc-dev/sqlc-gen-python/internal"
7
7
)
You can’t perform that action at this time.
0 commit comments