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

Inserting a subset of columns doesn't work #26

Open
ainar-g opened this issue Feb 1, 2019 · 0 comments
Open

Inserting a subset of columns doesn't work #26

ainar-g opened this issue Feb 1, 2019 · 0 comments

Comments

@ainar-g
Copy link

ainar-g commented Feb 1, 2019

If I have a table with two columns, “foo” and “bar”, I cannot use insert_rows to insert a record with only “foo”, because insert_rows doesn't actually use the “rows” parameter. It should be something like

INSERT INTO #{table} (#{rows.join(",")}) ...
@ainar-g ainar-g changed the title Inserting a subset of rows doesn't work Inserting a subset of columns doesn't work Feb 5, 2019
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