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

Insert multiple rows together? #67

Open
charJe opened this issue Jun 1, 2022 · 0 comments
Open

Insert multiple rows together? #67

charJe opened this issue Jun 1, 2022 · 0 comments

Comments

@charJe
Copy link

charJe commented Jun 1, 2022

a form like this

INSERT INTO table (attr1, attr2) VALUES (val11, val12), (val21, val22);

with something like this:

(let ((itmes (list (list val11 val12) (list val21 val22)))))
  (insert-into :table '(:attr1 :attr2) items))

Is this possible?

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