Skip to content

Table_Manipulation

sunghyun edited this page Jan 22, 2018 · 2 revisions

Table Manipulation

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.

Methods

  • 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()
Clone this wiki locally