Package daklib :: Package database :: Module base :: Class BaseMethods
[hide private]
[frames] | no frames]

Class BaseMethods

source code


Class Methods [hide private]
 
get(cls, primary_key, session)
This is a support function that allows getting an object by its primary key.
source code
Class Variables [hide private]
  __abstract__ = True
Method Details [hide private]

get(cls, primary_key, session)
Class Method

source code 

This is a support function that allows getting an object by its primary key.

Architecture.get(3[, session])

instead of the more verbose

session.query(Architecture).get(3)