Class PostgreSQL
Defined settings:
- array database
- string adapter
- string name, Database name
- string username
- string password
- string host
- integer port
- Phramework\Database\PostgreSQL implements Phramework\Database\IAdapter
Direct known subclasses
Namespace: Phramework\Database
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 0.0.0
Uses: \PDO
Located at PostgreSQL.php
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 0.0.0
Uses: \PDO
Located at PostgreSQL.php
Methods summary
public
string
|
|
public
|
|
public
integer
|
|
public
mixed
|
#
executeLastInsertId( string $query, array $parameters = [] )
Execute a query and return last instert id |
public
array
|
#
executeAndFetch( string $query, array $parameters = [], $castModel = null )
Execute a query and fetch first row as associative array |
public
array[]
|
#
executeAndFetchAll( string $query, array $parameters = [], $castModel = null )
Execute a query and fetch all rows as associative array |
public
array
|
#
executeAndFetchArray( string $query, array $parameters = [] )
Execute a query and fetch first row as array |
public
array[]
|
|
public
mixed
|
#
bindExecuteLastInsertId( string $query, array $parameters = [] )
Bind Execute a query and return last instert id |
public
integer
|
#
bindExecute( string $query, array $parameters = [] )
Bind Execute a query and return the row count |
public
array
|
#
bindExecuteAndFetch( string $query, array $parameters = [], $castModel = null )
Bind Execute a query and fetch first row as associative array |
public
array[]
|
#
bindExecuteAndFetchAll( string $query, array $parameters = [], $castModel = null )
Bind Execute a query and fetch all rows as associative array |
public
|