Add ProcTable, ProcColumn and run stored proc
Created by: alesso-x
Adds a simplified db table representing a stored procedure. In each model that is based off a stored proc there will be 3 properties SCHEMA, PROCS, __table__.
for example
SCHEMA = 'public'
PROCS = {
'READ': 'get_building',
}
__table__ = ProcTable(
'Building',
ProcColumn('address'),
ProcColumn('bbl'),
ProcColumn('borough'),
ProcColumn('zipcode'),
ProcColumn('building_id'),
ProcColumn('lot_id'),
ProcColumn('bin_id'),
)