gino
gino copied to clipboard
How to create a table dynamically using GINO framework? This is more of a question asking for code sample or recommendation.
- 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