It allows to create tables corresponding to a dao file.
| since | 1.6.16 |
|---|---|
| package |
jelix |
__construct(string $profile = '')
stringthe jdb profile
createColumnFromProperty(\jDaoProperty $property)
createTableFromDao( $selectorStr) : \jDbTable
insertDaoData(string $selectorStr, array<mixed,string> $properties, array<mixed,mixed[]> $data, integer $option) : integer
stringthe dao for which we want to insert data
array<mixed,string>list of properties for which data are given
array<mixed,mixed[]>the data. each row is an array of values. Values are in the same order as $properties
integerone of jDbTools::IBD_* const
integernumber of records inserted/updated
profile :