Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve .returning syntax #272

Open
tshemsedinov opened this issue Jul 9, 2023 · 0 comments
Open

Improve .returning syntax #272

tshemsedinov opened this issue Jul 9, 2023 · 0 comments

Comments

@tshemsedinov
Copy link
Member

tshemsedinov commented Jul 9, 2023

  • Now it returns { rows: Array<Record> } so we use very long destructive expressions
  • Add auto-detect for returning if we have primary key can use it for default returning
  • Use schema for auto-detect returning with priority over database metadata (primary key)
tshemsedinov added a commit that referenced this issue Jul 10, 2023
tshemsedinov added a commit that referenced this issue Jul 10, 2023
tshemsedinov added a commit that referenced this issue Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant