Skip to content

Implement the Connection.executemany() method #45

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

Merged
merged 1 commit into from
Nov 16, 2016
Merged

Conversation

elprans
Copy link
Member

@elprans elprans commented Nov 16, 2016

The executemany() method runs an SQL command for each sequence
of arguments in the given iterable.

Closes: #36

@elprans elprans force-pushed the executemany branch 2 times, most recently from 353fc23 to ce22ff5 Compare November 16, 2016 18:47

>>> await con.executemany('''
... INSERT INTO mytab (a) VALUES ($1, $2, $3);
... ''')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No actual data arg.

Copy link
Member

@1st1 1st1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

The executemany() method runs an SQL command for each sequence
of arguments in the given iterable.

Closes: #36
@elprans elprans merged commit c91c81d into master Nov 16, 2016
@elprans elprans deleted the executemany branch November 16, 2016 23:06
@styvane
Copy link

styvane commented Nov 17, 2016

@elprans @1st1 Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants