pike.git / lib / modules / Sql.pmod / module.pmod

version» Context lines:

pike.git/lib/modules/Sql.pmod/module.pmod:68:      //! Base class for the result from @[Connection.big_query()] et al.   constant Result = __builtin.Sql.Result;      //! Base class for the result from @[Promise].   constant FutureResult = __builtin.Sql.FutureResult;      //! Base class for the result from @[Connection.promise_query()].   constant Promise = __builtin.Sql.Promise;    - //! - constant Date = __builtin.Sql.Date; -  - //! - constant Timestamp = __builtin.Sql.Timestamp; -  - //! - constant Time = __builtin.Sql.Time; -  - //! - constant TimeTZ = __builtin.Sql.TimeTZ; -  - //! - constant Interval = __builtin.Sql.Interval; -  - //! - constant Inet = __builtin.Sql.Inet; -  +    protected program(Connection) find_dbm(string program_name)   {    program(Connection) p;    // we look in Sql.type and Sql.Provider.type.type for a valid sql class.    p = global.Sql[program_name];    if(!p && global.Sql["Provider"] && global.Sql["Provider"][program_name])    p = global.Sql["Provider"][program_name][program_name];    return p;   }