MOAL.storage.databases.relational package¶
Submodules¶
MOAL.storage.databases.relational.postgresql_psycopg2 module¶
MOAL.storage.databases.relational.sql_alchemy module¶
-
class
MOAL.storage.databases.relational.sql_alchemy.
Person
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
-
__init__
(**kwargs)¶ A simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs
.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
-
__mapper__
= <Mapper at 0x10d612d10; Person>¶
-
__table__
= Table('persons', MetaData(bind=None), Column('id', Integer(), table=<persons>, primary_key=True, nullable=False), Column('name', String(length=255), table=<persons>), Column('email', String(length=255), table=<persons>), Column('url', String(length=255), table=<persons>), schema=None)¶
-
__tablename__
= 'persons'¶
-
_sa_class_manager
= <ClassManager of <class 'MOAL.storage.databases.relational.sql_alchemy.Person'> at 10d51cd08>¶
-
email
¶
-
id
¶
-
name
¶
-
url
¶
-