You are not logged in Log in Join
You are here: Home » Members » jim » ZODB » GetHistorical

Log in
Name

Password

 
 
FrontPage » RelationalStorage » BrewingIdeas » LoadMethod »

GetHistorical

def GetHistorical (self, oid, serial):
    ob = {sql}
    if not ob.data and ob.dataserial:
        actual = GetHistorical (oid, ob.dataserial)
        ob.data = actual.data
    return ob
SQL:
SELECT z_oid, z_serial, z_pre, z_status, z_data, z_datalen, z_version, z_nv, z_dataserial
FROM zodb_data
WHERE z_oid = ?
AND z_serial = ?