|
Previous Page |
Solar_Sql_Adapter_Sqlite |
Next Page |
_sqlColdef()
protected
string
_sqlColdef (
string $name,
array $info
)
Returns a column definition string.
Inherited from Solar_Sql_Adapter.
Parameters
- (string)
$name: The column name. - (array)
$info: The column information.
Returns
- (string) The column definition string.
Description
Returns a column definition string.
The $info parameter should be in this format ...
<?php
$info = array(
'type' => (string) bool, char, int, ...
'size' => (int) total length for char|varchar|numeric
'scope' => (int) decimal places for numeric
'default' => (bool) the default value, if any
'require' => (bool) is the value required to be NOT NULL?
'primary' => (bool) is this a primary key column?
'autoinc' => (bool) is this an auto-increment column?
);
?> Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _checkIdentifier()
- _createSequence()
- _dropIndex()
- _dropSequence()
- _dsn()
- _exception()
- _fetchTableCols()
- _fetchTableList()
- _getCacheKey()
- _getTypeSizeScope()
- _modAutoincPrimary()
- _modIndexName()
- _modSelect()
- _modSequenceName()
- _nextSequence()
- _postConnect()
- _select()
- _sqlColdef()
- _sqlCreateTable()
- _sqlSelect()
- addColumn()
- apiVersion()
- begin()
- commit()
- connect()
- createIndex()
- createSequence()
- createTable()
- delete()
- disconnect()
- dropColumn()
- dropIndex()
- dropSequence()
- dropTable()
- dump()
- fetchAll()
- fetchAssoc()
- fetchCol()
- fetchOne()
- fetchPairs()
- fetchPdo()
- fetchSql()
- fetchTableCols()
- fetchTableList()
- fetchValue()
- getPdo()
- getProfile()
- insert()
- lastInsertId()
- locale()
- nextSequence()
- query()
- quote()
- quoteInto()
- quoteMulti()
- rollback()
- setProfiling()
- update()