sqlc
sqlc copied to clipboard
Generate type-safe code from SQL
Updates the year in docs and LICENSE from 2023 to 2024
- "plugins" field takes "List" type not "Map". - The example of the page written in different type, so I fixed example of setting
### Version 1.23.0 ### What happened? A SQL type `timestamp with time zone` is not recognized as `timestamptz` when `timestamptz` is overridden with `time.Time`. as mentioned by @andrewmbenton here: https://github.com/sqlc-dev/sqlc/issues/2630#issuecomment-1729891052...
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2. Release notes Sourced from urllib3's releases. 2.2.2 🚀 urllib3 is fundraising for HTTP/2 support urllib3 is raising ~$40,000 USD to release HTTP/2 support and...
### Version 1.26.0 ### What happened? When using NOT IN & SQLite, if you pass it an empty slice, it will never match. This is because of: ```go query =...
### What do you want to change? SQLite 3.7.11 and above supports bulk inserts with the syntax: ```sql INSERT INTO 'tablename' ('column1', 'column2') VALUES ('1data1', '1data2'), ('2data1', '2data2'), ... ('Ndata1',...
### What do you want to change? One of the things that I have really wanted in **sqlc** is the ability to write a single query that can insert or...
### What do you want to change? The SQLite docs mentions that ["The ON CONFLICT clauses are checked in the order specified"](https://www.sqlite.org/lang_upsert.html#selector(exact=The%20ON%20CONFLICT%20clauses%20are%20checked%20in%20the%20order%20specified,prefix=operation%20is%20performed%20instead.%0A,suffix=.%20%20If%20the%20last%0AON%20CONFLICT%20claus,type=TextQuoteSelector)), implying that there can be multiple conflict targets...
I started out looking at #1171, realising that `sqlc` already contains all of the Postgres catalogs, then realised we didn't have any MySQL ones. Made a copy of the `sqlc-pg-gen`...
### Version 1.26.0 ### What happened? when i use a named parameter in a do stament, the generated query does not resolve to a positional parameter. looks like it works...