Skip to content

Implement the Connection.executemany() method - #45

Merged
elprans merged 1 commit into
masterfrom
executemany
Nov 16, 2016
Merged

elprans merged 1 commit into
masterfrom
executemany

Conversation

@elprans

@elprans elprans commented Nov 16, 2016

Copy link
Copy Markdown
Member

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
Comment thread asyncpg/connection.py Outdated

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

Copy link
Copy Markdown
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.

@1st1 1st1 left a comment

Copy link
Copy Markdown
Member

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
@issokuos

Copy link
Copy Markdown

@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