PHP » GoLang |
login |
register |
about
|
GoLang sqlite_fetch_column_types
request it (317)
GoLang replacement for PHP's sqlite_fetch_column_types
[edit | history]
sqlite_fetch_column_typesSQLiteDatabase::fetchColumnTypes(PHP 5 < 5.4.0) sqlite_fetch_column_types -- SQLiteDatabase::fetchColumnTypes — Return an array of column types from a particular table Description
array sqlite_fetch_column_types
( string
$table_name
, resource $dbhandle
[, int $result_type = SQLITE_ASSOC
] )Object oriented style (method):
public array SQLiteDatabase::fetchColumnTypes
( string
$table_name
[, int $result_type = SQLITE_ASSOC
] )
sqlite_fetch_column_types() returns an array of column
data types from the specified Parameters
Return Values
Returns an array of column data types; The column names returned by
Changelog
Examples
Example #1 Procedural example
<?php
Example #2 Object-oriented example
<?php The above example will output: Column: bar Type: VARCHAR Column: arf Type: TEXT |
more
Recently updated
more
Most requested
more
Last requests
|