GitHub / sqlc-dev/sqlc / commits
Generate type-safe code from SQL
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| c236b742 |
fix(engine/sqlite): fix table_alias rules (#2465)
Co-authored-by: Kyle Conroy <k****e@s****v> |
Nao Yonashiro <o****o@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 5ffe7227 |
fix(engine/sqlite): fixed IN operator precedence (#2428)
Co-authored-by: Kyle Conroy <k****e@s****v> |
Nao Yonashiro <o****o@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 6d3cdc22 | docs: small updates (#2506) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 51f18084 | fix(sql/catalog): Support pg_dump output (#2508) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 5c72923c | build: Add psql and mysqlsh to devenv (#2507) |
Kyle Gray <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 8091c676 | build(deps): bump sphinx from 4.4.0 to 6.1.0 in /docs (#2505) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 8a15b9fe | fix(engine/sqlite): fixed to be able to find relation from WITH clause (#2444) |
Nao Yonashiro <o****o@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| ebe15a73 | build(deps): bump certifi from 2022.12.7 to 2023.7.22 in /docs (#2504) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 4112af5e | fix(engine/sqlite): added function to convert cast node (#2470) |
Nao Yonashiro <o****o@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| dfe6aaa5 |
docs: Add example sqlc.yaml for migration parsing (#2479)
Co-authored-by: Kyle Conroy <k****e@c****g> |
Sam Webster <4****b@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| a5f57a97 | test: Add profiles to docker compose (#2503) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 85936d62 | fix(engine/sqlite): support for repeated table_option (#2482) |
Nao Yonashiro <o****o@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 6a0c2277 |
build(deps): bump pygments from 2.15.0 to 2.15.1 in /docs (#2500)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 409351f4 |
build(deps): bump packaging from 20.9 to 23.1 in /docs (#2498)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| ead87e2a |
build(deps): bump idna from 2.10 to 3.4 in /docs (#2499)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 7286388a | build(docs): Check Python dependencies via dependabot (#2497) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| f1b186cd |
build(deps): bump github.com/google/cel-go from 0.16.0 to 0.17.1 (#2484)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| fdeb6187 | fix: sqlite log (#2488) |
Vitalii Solodilov <m****8@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 48f94e60 | docs: update copyright and author (#2490) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| fc99f204 | feat(vet): Add output from `EXPLAIN ...` for queries to the CEL program envir... |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| bf49d881 |
build(deps): bump github.com/jackc/pgconn from 1.14.0 to 1.14.1 (#2483)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| c13f2707 |
build(deps): bump pygments from 2.7.4 to 2.15.0 in /docs (#2485)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 5348b097 | fix(vet): report an error when a query is unpreparable, close prepared statem... |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| dddfe4f5 | feat(vet): Introduce a query annotation to opt out of sqlc vet rules (#2474) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 4d764a2d | feat: Parse comment lines starting with `@symbol` as boolean flags associated... |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| d12db532 | docs: Add a description to the document for cases when a query result has no ... |
yukyan <4****m@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| cef1a208 | build: Run all supported versions of MySQL / PostgreSQL (#2463) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| a748990a | scripts: Add new version to BUG_REPORT.yml (#2461) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| f2882da7 | Update BUG_REPORT.yml (#2460) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 25dd8908 | Mention UUID type for pgx/v5 (#2448) |
Peter Willis <a****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| d9422dc9 | docs: Use downloads.sqlc.dev for install links (#2456) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| f02c492f | cmd/sqlc: Bump version to v1.19.1 (#2455) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| adaabbdd | fixprevent panics when encountering unexpected ast nodes in range function li... |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 6051c032 | fix(golang): Prevent duplicate enum output (#2447) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| a60acbf2 | fix(compiler): Validate UNION ... ORDER BY (#2446) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| f5c528fe | Add an endtoend test that covers the case referenced in https://github.com/ky... |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 4e43e48b |
build(deps): bump github.com/jackc/pgx/v5 from 5.4.1 to 5.4.2 (#2436)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 156bd6dc | fix: fix to traverse Sel in ast.In (#2414) |
Nao Yonashiro <o****o@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 72d8fea9 | build: Pin Go to 1.20.6 (#2441) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| b8e5ffe0 |
build(deps): bump golang from 1.20.5 to 1.20.6 (#2437)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 1517eb8d | Update go.mod to match go mod tidy output (#2440) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 37330a5d | Update devenv.nix to add pkgs.gopls (#2438) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| f6ee89f3 | Update ci.yml with bumped go version for vulncheck (#2439) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 2808a605 | Fix sqlc/db-prepare command name in docs (#2426) |
ngutierrez3 <9****3@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 64e6c9cd |
build(deps): bump google.golang.org/grpc from 1.56.1 to 1.56.2 (#2415)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| e2807ef2 | chore: replace codegen, test and docs references to github.com/tabbed repos (... |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| b6436420 | cmd/sqlc: Bump version to 1.19.0 (#2408) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 14b119b2 |
docs: some v1.19.0 release copyediting (#2409)
Co-authored-by: Kyle Conroy <k****e@s****v> |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 7ca892f7 | docs: Add release notes for v1.19.0 (#2406) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 5134490b | config: Change database URL to URI (#2407) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 1fea9f7b |
chore: remove refs to deprecated io/ioutil (#2404)
Signed-off-by: guoguangwu <g****u@m****m> |
guangwu <g****u@m****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 35f58834 | cmd/vet: Add --no-database option (#2405) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| d32d6af5 | docs: add a favicon (#2397) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 6fd99504 | feat(cmd/vet): Add built-in db-prepare rule (#2396) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| a0d5d93c | feat(cmd/vet): Simplify environment variable substiution (#2393) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 09561078 | feat(cmd/vet): Prepare SQLite queries (#2389) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 7fd89bcb | feat(cmd/vet): Prepare queries for MySQL (#2388) |
Kyle Conroy <k****e@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 41c1520e | feat(cmd/vet): Prepare queries against a database (#2387) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 4c66700b | fix(codegen/golang): Bring :execlastid in line with the rest (#2378) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| cde9524a | chore(scripts/regenerate): should also update stderr.txt (#2379) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| b396ab76 | feat: Add support for BETWEEN sqlc.arg(min) AND sqlc.arg(max) (#2373) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 7098e188 | fix: Broken interaction between query_parameter_limit and pq.Array() (#2383) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 76d0a78b | feat(sqlite): Add support for UPDATE/DELETE with a LIMIT clause (#2384) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 3e0fca00 |
feat(cmd/sqlc): Add the vet subcommand (#2344)
Co-authored-by: Kyle Conroy <k****e@s****v> |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 91c99b94 | feat: Improve default names for BETWEEN ? AND ? to have prefixes from_ and to... |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 646cb613 | fix: Type overrides on columns for parameters inside an IN clause (#2352) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| eceac40d | feat(internal/codegen/golang): omit unused structs from output (#2369) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 81b5dbe2 | docs: Update query_parameter_limit documentation (#2374) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| b1336f8e | fix: Fix type overrides not working with sqlc.slice (#2351) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 56de6023 | chore: Remove a bunch of dead code (#2360) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 6431b06c | fix: Don't defer rows.Close() if pgx.BatchResults.Query() failed (#2362) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 1b1374ba | fest: Add compiler support for NOTIFY and LISTEN (PostgreSQL) (#2363) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 77aadba1 | feat: Support "LIMIT ?" in UPDATE and DELETE for MySQL (#2365) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| c672ba6c | chore: A few small staticcheck fixes (#2361) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| b27b6d26 |
build(deps): bump google.golang.org/grpc from 1.56.0 to 1.56.1 (#2358)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| bbb54572 | build: Run govulncheck on all builds (#2372) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| ce2cb688 |
build(deps): bump actions/checkout from 2 to 3 (#2357)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 5d4a334d |
build(deps): bump google.golang.org/protobuf from 1.30.0 to 1.31.0 (#2370)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 28696e59 | kotlin: Use latest version of sqlc-gen-kotlin (#2356) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| e2051225 | python: Use latest version of sqlc-gen-python (#2355) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| da6fe0a2 | protos: Add missing field name (#2354) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| e1e5ed67 | Add json_tags_id_uppercase configuration option (#2325) |
John W. Carbone <9****n@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| e6548cd5 | Support for parsing REFRESH MATERIALIZED VIEW (#2347) |
Jille Timmermans <j****e@q****x>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| f0866365 | cmd/sqlc: Show helpful output on missing subcommand (#2345) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 8d365df1 | internal/config: support golang overrides for slices (#2339) |
Andrew Benton <a****w@s****v>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 3b21fdf5 | fix: MySQL slice shadowing database/sql import (#2332) |
LudovicDebost <1****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 3c178158 | Update changelog.md (#2342) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 7ef0dafe | improve init command to create v2/v1 yaml file (#2335) |
dangquangdon <3****n@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 0ed414af | fix(sqlite) fix EXISTS operator (#2334) |
Kazuyuki Honda <h****a@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| c991dae3 |
build(deps): bump google.golang.org/grpc from 1.55.0 to 1.56.0 (#2333)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| edb8d257 |
build(deps): bump golang.org/x/sync from 0.2.0 to 0.3.0 (#2328)
Co-authored-by: dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 16633920 | docs: Add a ReadTheDocs config file (#2327) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 1f43e7b5 | build: Configure dependencies via devenv.sh (#2326) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 734e06ed |
feat: Allow use of table and column aliases for table functions returning unk...
Co-authored-by: Kyle Conroy <k****e@c****g> Signed-off-by: Andrew Haines <a****w@h****z> |
Andrew Haines <a****w@h****z>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| b09ddb7d | build: Configure dependencies via devenv.sh (#2319) |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| dc85b371 |
codegen(go): Support JSON tags for nullable enum structs (#2121)
Co-authored-by: Kyle Conroy <k****e@c****g> |
mikemherron <1****n@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| f41173a7 | Update using-go-and-pgx.rst (#2318) |
teenjuna <5****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| c4e4b68b |
fix: check column references in ORDER BY (#1411) (#1915)
Co-authored-by: Kyle Conroy <k****e@c****g> |
akutschera <a****a@w****e>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 9b9a2b6c |
feat(mysql): Support unsigned integers (#1746)
Co-authored-by: Kyle Conroy <k****e@c****g> |
Dennis Schön <m****l@d****e>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| 308583ee |
codegen(go): Strip invalid characters from table and column names (#2314)
Co-authored-by: Rollulus <r****s@x****l> |
Kyle Conroy <k****e@c****g>
Committed by: GitHub <n****y@g****m> |
about 3 years ago |