POT
POT
POT
Main menu

Download

Forum

SVN

Class: OTS_DB_SQLite

Source Location: /classes/OTS_DB_SQLite.php

Class OTS_DB_SQLite

Class Overview

SQLite connection interface.

SQLite connection interface. At all everything that you really need to read from this class documentation is list of parameters for driver's constructor.

Located in /classes/OTS_DB_SQLite.php [line 25]

PDO
   |
   --OTS_Base_DB
      |
      --OTS_DB_SQLite
Author(s):
Information Tags:
Version:  0.0.1
Version:  0.1.3

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From OTS_Base_DB

OTS_Base_DB::fieldName()
Query-quoted field name.
OTS_Base_DB::limit()
LIMIT/OFFSET clause for queries.
OTS_Base_DB::SQLquery()
OTS_Base_DB::SQLquote()
OTS_Base_DB::tableName()
Query-quoted table name.

[ Top ]
Method Summary
OTS_DB_SQLite   __construct()   Creates database connection.

[ Top ]
Methods
Constructor __construct  [line 46]

  OTS_DB_SQLite __construct( array $params  )

Creates database connection.

Creates database connection. Connects to SQLite database on given arguments.

List of parameters for this drivers:

  • database - database name.

Parameters:
array   $params:  Connection parameters.

API Tags:
Access:  public

Information Tags:
Version:  0.0.7
Version:  0.0.1
Throws:  PDOException On PDO operation error.

[ Top ]