Joe Riddle
Joe Riddle
Hi @tim-schilling, after reading your last two blog posts about this project, I'm interesting in helping ideate on how this site might work and writing some code for it. I...
> joeriddles hey I'm getting this closer to being able to support another dev. Is this something you're still interested in working on? @tim-schilling thanks for the update. I am...
The generated query is missing two params. It should have six total. ```go func (q *Queries) SavePin(ctx context.Context, arg SavePinParams) (Pin, error) { row := q.db.QueryRowContext(ctx, savePin, arg.Title, arg.Url, arg.ImageUrl,...
I forked and wrote a test that fails with the same error: https://github.com/joeriddles/sqlc/tree/joeriddles/3834 Diff: https://github.com/sqlc-dev/sqlc/compare/main...joeriddles:sqlc:joeriddles/3834
Using the `excluded.` syntax _does_ work: https://www.sqlite.org/lang_upsert.html#:~:text=%20to%20use%20the%20value%20that%20would%20have%20been%20inserted%20had%20the%20constraint%20not%20failed%2C%20add%20the%20special%20%22excluded.%22%20table%20qualifier%20to%20the%20column%20name.%20 ``` /* name: SaveBook :one */ INSERT INTO books ( author_id, isbn, book_type, title, yr, available, tag ) VALUES ( ?, ?, ?,...
Looks to be related to: - https://github.com/sqlc-dev/sqlc/issues/3439 - https://github.com/sqlc-dev/sqlc/issues/3508 ?
Debugging this... it looks like the `OnConflictingCause` field in the query's `ast.Node` is nil, when it should be populated.
> So, folks that want separate inherit-working-directory values for windows/tabs/splits: would you be satisfied if you could do this at the keybind/action level? I think this would work for me....
> Please ping me when the PR is ready for review. Thank you for working on this! @Nusnus ready for review!
@Nusnus @auvipy I fixed the merge conflicts and rebased on `main`