php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
pdo_sqlite.stub.php
Go to the documentation of this file.
1<?php
2
4
5namespace Pdo;
6
11class Sqlite extends \PDO
12{
13#ifdef SQLITE_DETERMINISTIC
15 public const int DETERMINISTIC = UNKNOWN;
16#endif
17
19 public const int OPEN_READONLY = UNKNOWN;
20
22 public const int OPEN_READWRITE = UNKNOWN;
23
25 public const int OPEN_CREATE = UNKNOWN;
26
28 public const int ATTR_OPEN_FLAGS = UNKNOWN;
29
31 public const int ATTR_READONLY_STATEMENT = UNKNOWN;
32
34 public const int ATTR_EXTENDED_RESULT_CODES = UNKNOWN;
35
36 // Registers an aggregating User Defined Function for use in SQL statements
37 public function createAggregate(
38 string $name,
39 callable $step,
40 callable $finalize,
41 int $numArgs = -1
42 ): bool {}
43
44 // Registers a User Defined Function for use as a collating function in SQL statements
45 public function createCollation(string $name, callable $callback): bool {}
46
48 string $function_name,
49 callable $callback,
50 int $num_args = -1,
51 int $flags = 0
52 ): bool {}
53
54#ifndef PDO_SQLITE_OMIT_LOAD_EXTENSION
55 public function loadExtension(string $name): void {}
56#endif
57
60 string $table,
61 string $column,
62 int $rowid,
63 ?string $dbname = "main",
64 int $flags = \Pdo\Sqlite::OPEN_READONLY
65 ) {}
66}
const int DETERMINISTIC
createCollation(string $name, callable $callback)
const int OPEN_CREATE
const int ATTR_READONLY_STATEMENT
const int ATTR_OPEN_FLAGS
createAggregate(string $name, callable $step, callable $finalize, int $numArgs=-1)
const int OPEN_READWRITE
createFunction(string $function_name, callable $callback, int $num_args=-1, int $flags=0)
const int ATTR_EXTENDED_RESULT_CODES
openBlob(string $table, string $column, int $rowid, ?string $dbname="main", int $flags=\Pdo\Sqlite::OPEN_READONLY)
loadExtension(string $name)
const int OPEN_READONLY
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
function(EX_VAR(opline->result.var))