Skip to content

How to create a table dynamically using GINO framework? This is more of a question asking for code sample or recommendation.  #727

Open

Description

@kolarsuresh
  • GINO version:
  • Python version: 3.7
  • asyncpg version:
  • aiocontextvars version:
  • PostgreSQL version: 10.x

Description

My use case, in the middle of application run, I need to create a table with some specific schema. All I see is create_all function but I am not able to find examples to create just one table on the fly. Any help or examples will help here.

Similar to example shown here: https://gist.github.com/djrobstep/998b9779d0bbcddacfef5d76a3d0921a

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions