| package |
jelix |
|---|---|
| subpackage |
db |
__construct( $connection)
fetchAll(string $query, integer $limitOffset = null, integer $limitCount = null) : array
stringSQL query
integerthe first number of the results or null
integernumber of results you want, or null
arrayarray of objects which contains results values
fetchAllInto(string $query, $className, integer $limitOffset = null, integer $limitCount = null) : array
stringSQL query
integerthe first number of the results or null
integernumber of results you want, or null
arrayarray of objects which contains results values
fetchFirst(string $query) : object
stringSQL query (without LIMIT instruction !)
objectthe object which contains values of the record
fetchFirstInto(string $query, string $classname) : object
stringSQL query (without LIMIT instruction !)
stringclass name of the future object
objectthe object which contains values of the record
_conn :