Class CUBRID
RedBeanPHP CUBRID Writer. This is a QueryWriter class for RedBeanPHP. This QueryWriter provides support for the CUBRID database platform.
- RedBeanPHP\QueryWriter\AQueryWriter
- RedBeanPHP\QueryWriter\CUBRID implements RedBeanPHP\QueryWriter
Copyright:
(c) copyright G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community. This source file is subject to the BSD/GPLv2 License that is bundled with this source code in the file license.txt.
License: BSD/GPLv2
Author: Gabor de Mooij and the RedBeanPHP Community
File: RedBeanPHP/QueryWriter/CUBRID.php
Located at QueryWriter/CUBRID.php
protected
boolean
|
#
buildFK( string $type, string $targetType, string $property, string $targetProperty, boolean $isDep = FALSE )
This method adds a foreign key from type and field to target type and target field. The foreign key is created without an action. On delete/update no action will be triggered. The FK is only used to allow database tools to generate pretty diagrams and to make it easy to add actions later on. This methods accepts a type and infers the corresponding table name. |
protected
array
|
|
public
|
|
public
integer
|
#
getTypeForID( )
This method returns the datatype to be used for primary key IDS and foreign keys. Returns one if the data type constants. |
public
array
|
|
public
|
|
public
array
|
|
public
integer
|
|
public
integer
|
|
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string|null
|
integer |
C_DATATYPE_INTEGER
Data types |
#
0
|
integer |
C_DATATYPE_DOUBLE
|
#
1
|
integer |
C_DATATYPE_STRING
|
#
2
|
integer |
C_DATATYPE_SPECIAL_DATE
|
#
80
|
integer |
C_DATATYPE_SPECIAL_DATETIME
|
#
81
|
integer |
C_DATATYPE_SPECIFIED
|
#
99
|
protected
|
$adapter
|
|
protected
string
|
$quoteCharacter
|
#
'`'
|
$cache,
$defaultValue,
$flagUseCache,
$maxCacheSizePerType,
$renames,
$typeno_sqltype
|