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

Return the table in create_table #205

Closed
sqlalchemy-bot opened this Issue May 26, 2014 · 8 comments

Comments

Projects
None yet
1 participant
@sqlalchemy-bot

sqlalchemy-bot commented May 26, 2014

Migrated issue, originally created by Antoine Bertin (@diaoul)

This is useful for subsequent bulk_insert calls.
Use case: create a constant table an fill it with constant data (a role table for example)

@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented May 26, 2014

Michael Bayer (@zzzeek) wrote:

this has been discussed, thought there might be an issue for it already but I cant find it, so we'll leave this.

@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented May 26, 2014

Antoine Bertin (@diaoul) wrote:

Other way to ease this is to allow bulk_insert to take the table name (string) as first argument.

@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented Oct 21, 2014

Michael Bayer (@zzzeek) wrote:

Issue #236 was marked as a duplicate of this issue.

@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented Oct 28, 2014

Changes by Michael Bayer (@zzzeek):

  • edited description
@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented Oct 28, 2014

Changes by Michael Bayer (@zzzeek):

  • set milestone to "tier 1"
@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented Nov 8, 2014

Michael Bayer (@zzzeek) wrote:

  • The :class:~sqlalchemy.schema.Table object is now returned when
    the :meth:.Operations.create_table method is used. This Table
    is suitable for use in subsequent SQL operations, in particular
    the :meth:.Operations.bulk_insert operation.
    fixes #205

8272c85

@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented Nov 8, 2014

Changes by Michael Bayer (@zzzeek):

  • changed status to closed
@sqlalchemy-bot

This comment has been minimized.

sqlalchemy-bot commented Sep 18, 2017

Michael Bayer (@zzzeek) wrote:

Issue #161 was marked as a duplicate of this issue.

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