jDbTools
__construct
( $connector)
Redefined in descendants as:
enclose the field name
string
encloseName
(string $fieldName)
-
string
$fieldName: the field name
Redefined in descendants as:
string
escapeValue
(string $unifiedType, mixed $value, [ $checkNull = false], [ $toPhpSource = false])
-
string
$unifiedType: the unified type name
-
mixed
$value: the value
-
$checkNull
-
$toPhpSource
void
execSQLScript
( $file)
Redefined in descendants as:
string
getBooleanValue
(string|boolean $value)
-
string|boolean
$value: a value which is a boolean
retrieve the list of fields of a table
array
getFieldList
(string $tableName, [string $sequence = ''])
-
string
$tableName: the name of the table
-
string
$sequence: the sequence used to auto increment the primary key
Redefined in descendants as:
returns the table list
void
getTableList
()
Redefined in descendants as:
get informations about the given SQL type
array
getTypeInfo
(string $nativeType)
-
string
$nativeType: the SQL type
string
stringToPhpValue
(string $unifiedType, string $value, [ $checkNull = false])
-
string
$unifiedType: the unified type name
-
string
$value: the value
-
$checkNull
return the PHP type corresponding to the given unified type
string
unifiedToPHPType
(string $unifiedType)