class DBNone extends DBAdapter
This adapter is used when you do not have a database installed.
Constants
ID_METHOD_NONE |
|
ID_METHOD_AUTOINCREMENT |
|
ID_METHOD_SEQUENCE |
|
Methods
static DBAdapter |
factory(string $driver)
Creates a new instance of the database adapter associated with the specified Propel driver. |
from DBAdapter | |||||||||||||||
array |
prepareParams(array $settings)
Prepare connection parameters. |
from DBAdapter | |||||||||||||||
initConnection(PDO $con, array $settings)
|
|||||||||||||||||
setCharset(PDO $con, string $charset)
Sets the character encoding using SQL standard SET NAMES statement. |
from DBAdapter | ||||||||||||||||
string |
toUpperCase(string $in)
This method is used to ignore case. |
||||||||||||||||
string |
getStringDelimiter()
Returns the character used to indicate the beginning and end of a piece of text used in a SQL statement (generally a single quote). |
from DBAdapter | |||||||||||||||
string |
ignoreCase(string $in)
This method is used to ignore case. |
||||||||||||||||
string |
ignoreCaseInOrderBy(string $in)
This method is used to ignore case in an ORDER BY clause. |
from DBAdapter | |||||||||||||||
string |
concatString(string $s1, string $s2)
Returns SQL which concatenates the second string to the first. |
||||||||||||||||
string |
subString(string $s, integer $pos, integer $len)
Returns SQL which extracts a substring. |
||||||||||||||||
string |
strLength(string $s)
Returns SQL which calculates the length (in chars) of a string. |
||||||||||||||||
string |
quoteIdentifier(string $text)
Quotes database objec identifiers (table names, col names, sequences, etc.). |
from DBAdapter | |||||||||||||||
string |
quoteIdentifierTable(string $table)
Quotes a database table which could have space separating it from an alias, both should be identified separately This doesn't take care of dots which separate schema names from table names. |
from DBAdapter | |||||||||||||||
boolean |
isGetIdBeforeInsert()
Whether this adapter uses an ID generation system that requires getting ID before performing INSERT. |
from DBAdapter | |||||||||||||||
boolean |
isGetIdAfterInsert()
Whether this adapter uses an ID generation system that requires getting ID before performing INSERT. |
from DBAdapter | |||||||||||||||
mixed |
getId(PDO $con, string $name = null)
Gets the generated ID (either last ID for autoincrement or next sequence ID). |
from DBAdapter | |||||||||||||||
string |
formatTemporalValue(mixed $value, mixed $type)
Formats a temporal value before binding, given a ColumnMap object. |
from DBAdapter | |||||||||||||||
string |
getTimestampFormatter()
Returns timestamp formatter string for use in date() function. |
from DBAdapter | |||||||||||||||
string |
getDateFormatter()
Returns date formatter string for use in date() function. |
from DBAdapter | |||||||||||||||
string |
getTimeFormatter()
Returns time formatter string for use in date() function. |
from DBAdapter | |||||||||||||||
useQuoteIdentifier()
Should Column-Names get identifiers for inserts or updates. |
from DBAdapter | ||||||||||||||||
cleanupSQL(string $sql, array $params, Criteria $values, DatabaseMap $dbMap)
Allows manipulation of the query string before PDOStatement is instantiated. |
from DBAdapter | ||||||||||||||||
applyLimit(string $sql, integer $offset, integer $limit)
Modifies the passed-in SQL to add LIMIT and/or OFFSET. |
|||||||||||||||||
random(string $seed = null)
Gets the SQL string that this adapter uses for getting a random number. |
|||||||||||||||||
string |
getDeleteFromClause(Criteria $criteria, string $tableName)
Returns the "DELETE FROM
Details
|