[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

/phpbb/db/driver/ -> sqlite3.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 431 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

sqlite3:: (16 methods):
  sql_connect()
  sql_server_info()
  _sql_transaction()
  sql_query()
  _sql_query_limit()
  sql_affectedrows()
  sql_fetchrow()
  sql_nextid()
  sql_freeresult()
  sql_escape()
  sql_like_expression()
  sql_not_like_expression()
  _sql_error()
  _sql_custom_build()
  _sql_close()
  _sql_report()


Class: sqlite3  - X-Ref

SQLite3 Database Abstraction Layer
Minimum Requirement: 3.6.15+

sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false, $new_link = false)   X-Ref
{@inheritDoc}


sql_server_info($raw = false, $use_cache = true)   X-Ref
{@inheritDoc}


_sql_transaction($status = 'begin')   X-Ref
SQL Transaction

param: string    $status        Should be one of the following strings:
return: bool    Success/failure of the transaction query

sql_query($query = '', $cache_ttl = 0)   X-Ref
{@inheritDoc}


_sql_query_limit($query, $total, $offset = 0, $cache_ttl = 0)   X-Ref
Build LIMIT query

param: string    $query        The SQL query to execute
param: int        $total        The number of rows to select
param: int        $offset
param: int        $cache_ttl    Either 0 to avoid caching or
return: mixed    Buffered, seekable result handle, false on error

sql_affectedrows()   X-Ref
{@inheritDoc}


sql_fetchrow($query_id = false)   X-Ref
{@inheritDoc}


sql_nextid()   X-Ref
{@inheritDoc}


sql_freeresult($query_id = false)   X-Ref
{@inheritDoc}


sql_escape($msg)   X-Ref
{@inheritDoc}


sql_like_expression($expression)   X-Ref
{@inheritDoc}

For SQLite an underscore is an unknown character.

sql_not_like_expression($expression)   X-Ref
{@inheritDoc}

For SQLite an underscore is an unknown character.

_sql_error()   X-Ref
return sql error array

return: array

_sql_custom_build($stage, $data)   X-Ref
Build db-specific query data

param: string    $stage        Available stages: FROM, WHERE
param: mixed    $data        A string containing the CROSS JOIN query or an array of WHERE clauses
return: string    The db-specific query fragment

_sql_close()   X-Ref
Close sql connection

return: bool        False if failure

_sql_report($mode, $query = '')   X-Ref
Build db-specific report

param: string    $mode        Available modes: display, start, stop,
param: string    $query        The Query that should be explained
return: mixed        Either a full HTML page, boolean or null



Generated: Tue Apr 7 19:42:26 2020 Cross-referenced by PHPXref 0.7.1