DataTables PHP 3.0.2

Sqlite extends PDO
in package

Table of Contents

Constants

ATTR_EXTENDED_RESULT_CODES  = \PHP_VERSION_ID >= 70400 ? \PDO::SQLITE_ATTR_EXTENDED_RESULT_CODES : 1002
ATTR_OPEN_FLAGS  = \PHP_VERSION_ID >= 70300 ? \PDO::SQLITE_ATTR_OPEN_FLAGS : 1000
ATTR_READONLY_STATEMENT  = \PHP_VERSION_ID >= 70400 ? \PDO::SQLITE_ATTR_READONLY_STATEMENT : 1001
DETERMINISTIC  = \PDO::SQLITE_DETERMINISTIC
OPEN_CREATE  = \PHP_VERSION_ID >= 70300 ? \PDO::SQLITE_OPEN_CREATE : 4
OPEN_READONLY  = \PHP_VERSION_ID >= 70300 ? \PDO::SQLITE_OPEN_READONLY : 1
OPEN_READWRITE  = \PHP_VERSION_ID >= 70300 ? \PDO::SQLITE_OPEN_READWRITE : 2

Methods

__construct()  : mixed
connect()  : self
createAggregate()  : bool
createCollation()  : bool
createFunction()  : bool

Constants

ATTR_EXTENDED_RESULT_CODES

public mixed ATTR_EXTENDED_RESULT_CODES = \PHP_VERSION_ID >= 70400 ? \PDO::SQLITE_ATTR_EXTENDED_RESULT_CODES : 1002

ATTR_OPEN_FLAGS

public mixed ATTR_OPEN_FLAGS = \PHP_VERSION_ID >= 70300 ? \PDO::SQLITE_ATTR_OPEN_FLAGS : 1000

ATTR_READONLY_STATEMENT

public mixed ATTR_READONLY_STATEMENT = \PHP_VERSION_ID >= 70400 ? \PDO::SQLITE_ATTR_READONLY_STATEMENT : 1001

DETERMINISTIC

public mixed DETERMINISTIC = \PDO::SQLITE_DETERMINISTIC

OPEN_CREATE

public mixed OPEN_CREATE = \PHP_VERSION_ID >= 70300 ? \PDO::SQLITE_OPEN_CREATE : 4

OPEN_READONLY

public mixed OPEN_READONLY = \PHP_VERSION_ID >= 70300 ? \PDO::SQLITE_OPEN_READONLY : 1

OPEN_READWRITE

public mixed OPEN_READWRITE = \PHP_VERSION_ID >= 70300 ? \PDO::SQLITE_OPEN_READWRITE : 2

Methods

__construct()

public __construct(string $dsn[, string|null $username = null ][, string|null $password = null ][, array<string|int, mixed>|null $options = null ]) : mixed
Parameters
$dsn : string
$username : string|null = null
$password : string|null = null
$options : array<string|int, mixed>|null = null

connect()

public static connect(string $dsn[, string|null $username = null ][, string|null $password = null ][, array<string|int, mixed>|null $options = null ]) : self
Parameters
$dsn : string
$username : string|null = null
$password : string|null = null
$options : array<string|int, mixed>|null = null
Return values
self

createAggregate()

public createAggregate(string $name, callable $step, callable $finalize[, int $numArgs = -1 ]) : bool
Parameters
$name : string
$step : callable
$finalize : callable
$numArgs : int = -1
Return values
bool

createCollation()

public createCollation(string $name, callable $callback) : bool
Parameters
$name : string
$callback : callable
Return values
bool

createFunction()

public createFunction(string $function_name, callable $callback[, int $num_args = -1 ][, int $flags = 0 ]) : bool
Parameters
$function_name : string
$callback : callable
$num_args : int = -1
$flags : int = 0
Return values
bool

        
On this page

Search results