PDOMysqlTest
extends AbstractPDOTest
in package
Table of Contents
- $driver : mixed
- createSchema() : mixed
- Uses .sql files from the examples directory to initialize the database.
- dropTables() : mixed
- Drops tables, if they exist.
- getBackend() : mixed
- getDb() : PDO
- Returns a fully configured PDO object.
- getPDO() : PDO
- Alias for getDb.
- tearDown() : void
- testDeepDelete() : mixed
- testDelete() : mixed
- testMove() : mixed
- testPropFind() : mixed
- testPropFindNothingToDo() : mixed
- testPropPatchComplex() : mixed
- testPropPatchCustom() : mixed
- testPropPatchRemove() : mixed
- testPropPatchUpdate() : mixed
Properties
$driver
public
mixed
$driver
= 'mysql'
Methods
createSchema()
Uses .sql files from the examples directory to initialize the database.
public
createSchema(string $schemaName) : mixed
Parameters
- $schemaName : string
Return values
mixed —dropTables()
Drops tables, if they exist.
public
dropTables(string|array<string|int, string> $tableNames) : mixed
Parameters
- $tableNames : string|array<string|int, string>
Return values
mixed —getBackend()
public
getBackend() : mixed
Return values
mixed —getDb()
Returns a fully configured PDO object.
public
getDb() : PDO
Return values
PDO —getPDO()
Alias for getDb.
public
getPDO() : PDO
Return values
PDO —tearDown()
public
tearDown() : void
Return values
void —testDeepDelete()
public
testDeepDelete() : mixed
Tags
Return values
mixed —testDelete()
public
testDelete() : mixed
Tags
Return values
mixed —testMove()
public
testMove() : mixed
Tags
Return values
mixed —testPropFind()
public
testPropFind() : mixed
Return values
mixed —testPropFindNothingToDo()
public
testPropFindNothingToDo() : mixed
Return values
mixed —testPropPatchComplex()
public
testPropPatchComplex() : mixed
Tags
Return values
mixed —testPropPatchCustom()
public
testPropPatchCustom() : mixed
Tags
Return values
mixed —testPropPatchRemove()
public
testPropPatchRemove() : mixed
Tags
Return values
mixed —testPropPatchUpdate()
public
testPropPatchUpdate() : mixed