PHP Class Horde_Db_Adapter_MysqlBase, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Db_Adapter_TestBase
Mostra file Open project: horde/horde Class Usage Examples

Public Methods

Method Description
setUpBeforeClass ( )
testAddColumnOptions ( )
testAddColumnOptionsDefault ( )
testAddColumnOptionsNotNull ( )
testAddColumnOptionsNull ( )
testBuildClause ( )
testChangeColumnLimit ( )
testChangeColumnPrecisionScale ( )
testChangeColumnType ( )
testChangeColumnUnsigned ( )
testColumnToSqlUnsigned ( )
testColumns ( )
testCreateTableWithSeparatePk ( )
testGetCharset ( )
testInsertAndReadInCp1257 ( )
testInterval ( )
testModifyDate ( )
testNativeDatabaseTypes ( )
testNativeDecimalInsertManualVsAutomatic ( ) We specifically do a manual INSERT here, and then test only the SELECT functionality. This allows us to more easily catch INSERT being broken, but SELECT actually working fine.
testNativeTypes ( )
testQuoteColumnName ( )
testQuoteDirtyString ( )
testQuoteFalse ( )
testQuoteFloat ( )
testQuoteInteger ( )
testQuoteNull ( ) *########################################################################## # Quoting ##########################################################################
testQuoteString ( )
testQuoteTrue ( )
testRenameColumn ( )
testSupportsCountDistinct ( )
testSupportsInterval ( )
testSupportsMigrations ( ) *########################################################################## # Accessor ##########################################################################
testTableAliasLength ( )
testTransactionCommit ( ) *########################################################################## # Database Statements ##########################################################################
testTransactionRollback ( )
testTypeToSqlBoolean ( )
testTypeToSqlDecimalPrecision ( )
testTypeToSqlDecimalScale ( )
testTypeToSqlInt ( )
testTypeToSqlIntLimit ( )
testTypeToSqlIntUnsigned ( )
testTypeToSqlTypeBinary ( )
testTypeToSqlTypeDatetime ( )
testTypeToSqlTypeFloat ( )
testTypeToSqlTypePrimaryKey ( )
testTypeToSqlTypeString ( )
testTypeToSqlTypeText ( )
testTypeToSqlTypeTimestamp ( )
testUnabstractedDatabaseDependentTypes ( )

Protected Methods

Method Description
_available ( )
_createTestTable ( $name, $options = [] ) Create table to perform tests on

Method Details

_available() protected static method

protected static _available ( )

_createTestTable() protected method

Create table to perform tests on
protected _createTestTable ( $name, $options = [] )

setUpBeforeClass() public static method

public static setUpBeforeClass ( )

testAddColumnOptions() public method

testAddColumnOptionsDefault() public method

testAddColumnOptionsNotNull() public method

testAddColumnOptionsNull() public method

testBuildClause() public method

public testBuildClause ( )

testChangeColumnLimit() public method

testChangeColumnPrecisionScale() public method

testChangeColumnType() public method

testChangeColumnUnsigned() public method

testColumnToSqlUnsigned() public method

testColumns() public method

public testColumns ( )

testCreateTableWithSeparatePk() public method

testGetCharset() public method

public testGetCharset ( )

testInsertAndReadInCp1257() public method

testInterval() public method

public testInterval ( )

testModifyDate() public method

public testModifyDate ( )

testNativeDatabaseTypes() public method

testNativeDecimalInsertManualVsAutomatic() public method

We specifically do a manual INSERT here, and then test only the SELECT functionality. This allows us to more easily catch INSERT being broken, but SELECT actually working fine.

testNativeTypes() public method

public testNativeTypes ( )

testQuoteColumnName() public method

public testQuoteColumnName ( )

testQuoteDirtyString() public method

testQuoteFalse() public method

public testQuoteFalse ( )

testQuoteFloat() public method

public testQuoteFloat ( )

testQuoteInteger() public method

public testQuoteInteger ( )

testQuoteNull() public method

*########################################################################## # Quoting ##########################################################################
public testQuoteNull ( )

testQuoteString() public method

public testQuoteString ( )

testQuoteTrue() public method

public testQuoteTrue ( )

testRenameColumn() public method

public testRenameColumn ( )

testSupportsCountDistinct() public method

testSupportsInterval() public method

testSupportsMigrations() public method

*########################################################################## # Accessor ##########################################################################

testTableAliasLength() public method

testTransactionCommit() public method

*########################################################################## # Database Statements ##########################################################################

testTransactionRollback() public method

testTypeToSqlBoolean() public method

testTypeToSqlDecimalPrecision() public method

testTypeToSqlDecimalScale() public method

testTypeToSqlInt() public method

public testTypeToSqlInt ( )

testTypeToSqlIntLimit() public method

testTypeToSqlIntUnsigned() public method

testTypeToSqlTypeBinary() public method

testTypeToSqlTypeDatetime() public method

testTypeToSqlTypeFloat() public method

testTypeToSqlTypePrimaryKey() public method

testTypeToSqlTypeString() public method

testTypeToSqlTypeText() public method

testTypeToSqlTypeTimestamp() public method

testUnabstractedDatabaseDependentTypes() public method