The oslo_db.sqlalchemy.models
Module¶
SQLAlchemy models.
-
class
oslo_db.sqlalchemy.models.
ModelBase
¶ Bases:
six.Iterator
Base class for models.
-
get
(key, default=None)¶
-
items
()¶ Make the model object behave like a dict.
-
iteritems
()¶ Make the model object behave like a dict.
-
keys
()¶ Make the model object behave like a dict.
-
save
(session)¶ Save this object.
-
update
(values)¶ Make the model object behave like a dict.
-
-
class
oslo_db.sqlalchemy.models.
ModelIterator
(model, columns)¶ Bases:
six.Iterator