-
Notifications
You must be signed in to change notification settings - Fork 7
Table_Manipulation
sunghyun edited this page Jan 22, 2018
·
2 revisions
Main concept of implementing InPynamoDB is the abstraction of PynamoDB working asynchronously. So every table manipulation parts were implemented as same function/method signature with PynamoDB.
-
Model.create_table()
- PynamoDB performs creating table based on PynamoDB.Model class. It seems similar with other Python-based ORMs also it's intuitive.
- But if we look inside the code, it's little bit complicated since botocore supports only primitive functions.
-
Model.describe_table()
-
Model.delete_table()
-
Useful methods
- exists()
- dumps(), dump()
- loads(), load()