1<?php 2 3/** @generate-class-entries */ 4 5namespace Pdo; 6 7/** 8 * @strict-properties 9 * @not-serializable 10 */ 11class Sqlite extends \PDO 12{ 13#ifdef SQLITE_DETERMINISTIC 14 /** @cvalue SQLITE_DETERMINISTIC */ 15 public const int DETERMINISTIC = UNKNOWN; 16#endif 17 18 /** @cvalue SQLITE_OPEN_READONLY */ 19 public const int OPEN_READONLY = UNKNOWN; 20 21 /** @cvalue SQLITE_OPEN_READWRITE */ 22 public const int OPEN_READWRITE = UNKNOWN; 23 24 /** @cvalue SQLITE_OPEN_CREATE */ 25 public const int OPEN_CREATE = UNKNOWN; 26 27 /** @cvalue PDO_SQLITE_ATTR_OPEN_FLAGS */ 28 public const int ATTR_OPEN_FLAGS = UNKNOWN; 29 30 /** @cvalue PDO_SQLITE_ATTR_READONLY_STATEMENT */ 31 public const int ATTR_READONLY_STATEMENT = UNKNOWN; 32 33 /** @cvalue PDO_SQLITE_ATTR_EXTENDED_RESULT_CODES */ 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 47 public function createFunction( 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 58 /** @return resource|false */ 59 public function openBlob( 60 string $table, 61 string $column, 62 int $rowid, 63 ?string $dbname = "main", 64 int $flags = \Pdo\Sqlite::OPEN_READONLY 65 ) {} 66} 67