pike.git / lib / modules / __builtin.pmod / Sql.pmod / Result.pike

version» Context lines:

pike.git/lib/modules/__builtin.pmod/Sql.pmod/Result.pike:25:    int f = num_fields();    catch( int r = num_rows() );    int e = eof();    return type=='O' &&    sprintf("%O(/* row %d/%s, %d field%s */)",    this_program, index,    (!r || index==r && !e)?"?":(string)num_rows(),    f = num_fields(), f!=1?"s":"");   }    + //! Getter for the actual result object. + //! + //! @returns + //! Returns the current object. + //! + //! @note + //! Obsoleted in Pike 8.1 due to the wrapper class no longer + //! existing, and this symbol thus essentially being a noop.. + //! + //! @deprecated __builtin.Sql.Result. + __deprecated__ this_program `master_res() + { +  return this; + } +    //! Returns the number of rows in the result.   int num_rows();      //! Returns the number of fields in the result.   int num_fields();      //! Returns non-zero if there are no more rows.   int eof();      //! Return information about the available fields.