-
We recently added postgres support, but in a way that just maps things to a naive key-value table. In order to take advantage of increased queryability, and scalability gains, we should convert the in…
-
### Version
1.23.0
### What happened?
While investigating https://github.com/sqlc-dev/sqlc/issues/2973, I discovered that the new database-backed query analysis engine correctly determines th…
-
### Version
1.15.0
### What happened?
When I use `sqlc.arg(blah)` twice in the same query and no other parameters, I'd expect the generated query method to have a `blah int` argument, rather than a…
Jille updated
2 years ago
-
Hi. I'm working on a feature for [sqlc](https://github.com/kyleconroy/sqlc) to do a bulk insert. sqlc generates a struct with the columns of the table, and I want to do a bulk insert of those.
Now …
-
### Version
1.25.0
### What happened?
When using named parameters such as `@name`, sqlc doesn't recognize the parameter if there's no space before the `@` character.
The generated code looks as …
dubek updated
3 months ago
-
👋
Really cool project! I'm not sure if you need to parse any of the incoming queries, but you can use the official PostgreSQL parser easily from Go: https://github.com/pganalyze/pg_query_go
I u…
-
### Version
1.20.0
### What happened?
This prevent to do multiple join with the same table. Like a table making between multiple entries like linking users to users.
With the provided exam…
-
### Version
1.25.0
### What happened?
sqlc is not generating the params struct necessary for a copy-from query when your configuration specifies `query_parameter_limit`. This is on version 1.25.0.…
-
### Version
1.25.0
### What happened?
I tried to use a SQLite [UPDATE FROM](https://www.sqlite.org/lang_update.html#update_from) statement, but sqlc failed to parse it.
### Relevant log output
``…
-
Did we miss any sort of property or method that would show the Path in the Backup History? We ended up using a bunch of T-SQL in `Get-DbaBackupHistory` as seen in the Path (`mediafamily.physical_devic…