Class DoctrineBaseDriver
Class DoctrineBaseDriver
- Symfony\Component\DependencyInjection\ContainerAware
-
Mapbender\DataSourceBundle\Component\Drivers\BaseDriver
-
Mapbender\DataSourceBundle\Component\Drivers\DoctrineBaseDriver implements Mapbender\DataSourceBundle\Component\Drivers\Interfaces\Base
Direct known subclasses
Mapbender\DataSourceBundle\Component\Drivers\Oracle
,
Mapbender\DataSourceBundle\Component\Drivers\PostgreSQL
,
Mapbender\DataSourceBundle\Component\Drivers\SQLite
Namespace: Mapbender\DataSourceBundle\Component\Drivers
Package: Mapbender\DataSourceBundle\Component\Drivers
Author: Andriy Oblivantsev <eslider@gmail.com>
Located at data-source/Component/Drivers/DoctrineBaseDriver.php
Package: Mapbender\DataSourceBundle\Component\Drivers
Author: Andriy Oblivantsev <eslider@gmail.com>
Located at data-source/Component/Drivers/DoctrineBaseDriver.php
Methods summary
public
mixed
|
|
public
|
|
public
mixed
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
mixed
|
#
fetchColumn( string $statement, array $params = array(), integer $columnNum = 0 )
Prepares and executes an SQL query and returns the value of a single column of the first row of the result. |
public
array
|
|
public
|
|
public
mixed
|
|
public
array
|
|
public
string
|
|
public
Doctrine\DBAL\Query\QueryBuilder
|
#
getSelectQueryBuilder( array $fields = array() )
Get query builder prepared to select from the source table |
public
|
|
public
|
|
public
|
#
setFilter( mixed $sqlFilter )
Set permanent SQL filter used by $this->search() https://trac.wheregroup.com/cp/issues/3733 |
public
string
|
|
public
mixed
|
|
public
|
#
insert( array|
Insert data item |
protected
array
|
|
public
|
|
public
boolean
|
|
public
|
|
public
integer
|
|
protected
array
|
#
extractTypeValues( array $data, array $types )
Extract ordered type list from two associate key lists of data and types. |
Methods inherited from Mapbender\DataSourceBundle\Component\Drivers\BaseDriver
__construct()
,
create()
,
getConnection()
,
getFields()
,
getUniqueId()
,
getWktType()
,
roundGeometry()
,
setFields()
,
setUniqueId()
Magic methods summary
Constants summary
integer |
MAX_RESULTS
|
# 100 |
Properties summary
public
Doctrine\DBAL\Connection
|
$connection
|
|
protected
string
|
$tableName
Table name |
|
protected
string
|
$sqlFilter
SQL where filter |