php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
odbc.stub.php File Reference

Go to the source code of this file.

Data Structures

class  Odbc\Connection
 
class  Odbc\Result
 

Namespaces

namespace  Odbc
 

Functions

 odbc_close_all ()
 
 odbc_binmode (Odbc\Result $statement, int $mode)
 
 odbc_longreadlen (Odbc\Result $statement, int $length)
 
 odbc_prepare (Odbc\Connection $odbc, string $query)
 
 odbc_execute (Odbc\Result $statement, array $params=[])
 
 odbc_cursor (Odbc\Result $statement)
 
 odbc_data_source (Odbc\Connection $odbc, int $fetch_type)
 
 odbc_exec (Odbc\Connection $odbc, string $query)
 
 odbc_do (Odbc\Connection $odbc, string $query)
 
 odbc_fetch_object (Odbc\Result $statement, ?int $row=null)
 
 odbc_fetch_array (Odbc\Result $statement, ?int $row=null)
 
 odbc_fetch_into (Odbc\Result $statement, &$array, ?int $row=null)
 
 odbc_fetch_row (Odbc\Result $statement, ?int $row=null)
 
 odbc_result (Odbc\Result $statement, string|int $field)
 
 odbc_result_all (Odbc\Result $statement, string $format="")
 
 odbc_free_result (Odbc\Result $statement)
 
 odbc_connect (string $dsn, ?string $user=null, #[\SensitiveParameter] ?string $password=null, int $cursor_option=SQL_CUR_USE_DRIVER)
 
 odbc_pconnect (string $dsn, ?string $user=null, #[\SensitiveParameter] ?string $password=null, int $cursor_option=SQL_CUR_USE_DRIVER)
 
 odbc_close (Odbc\Connection $odbc)
 
 odbc_num_rows (Odbc\Result $statement)
 
 odbc_next_result (Odbc\Result $statement)
 
 odbc_num_fields (Odbc\Result $statement)
 
 odbc_field_name (Odbc\Result $statement, int $field)
 
 odbc_field_type (Odbc\Result $statement, int $field)
 
 odbc_field_len (Odbc\Result $statement, int $field)
 
 odbc_field_precision (Odbc\Result $statement, int $field)
 
 odbc_field_scale (Odbc\Result $statement, int $field)
 
 odbc_field_num (Odbc\Result $statement, string $field)
 
 odbc_autocommit (Odbc\Connection $odbc, ?bool $enable=null)
 
 odbc_commit (Odbc\Connection $odbc)
 
 odbc_rollback (Odbc\Connection $odbc)
 
 odbc_error (?Odbc\Connection $odbc=null)
 
 odbc_errormsg (?Odbc\Connection $odbc=null)
 
 odbc_setoption (Odbc\Connection|Odbc\Result $odbc, int $which, int $option, int $value)
 
 odbc_tables (Odbc\Connection $odbc, ?string $catalog=null, ?string $schema=null, ?string $table=null, ?string $types=null)
 
 odbc_columns (Odbc\Connection $odbc, ?string $catalog=null, ?string $schema=null, ?string $table=null, ?string $column=null)
 
 odbc_gettypeinfo (Odbc\Connection $odbc, int $data_type=0)
 
 odbc_primarykeys (Odbc\Connection $odbc, ?string $catalog, string $schema, string $table)
 
 odbc_procedurecolumns (Odbc\Connection $odbc, ?string $catalog=null, ?string $schema=null, ?string $procedure=null, ?string $column=null)
 
 odbc_procedures (Odbc\Connection $odbc, ?string $catalog=null, ?string $schema=null, ?string $procedure=null)
 
 odbc_foreignkeys (Odbc\Connection $odbc, ?string $pk_catalog, string $pk_schema, string $pk_table, string $fk_catalog, string $fk_schema, string $fk_table)
 
 odbc_specialcolumns (Odbc\Connection $odbc, int $type, ?string $catalog, string $schema, string $table, int $scope, int $nullable)
 
 odbc_statistics (Odbc\Connection $odbc, ?string $catalog, string $schema, string $table, int $unique, int $accuracy)
 
 odbc_tableprivileges (Odbc\Connection $odbc, ?string $catalog, string $schema, string $table)
 
 odbc_columnprivileges (Odbc\Connection $odbc, ?string $catalog, string $schema, string $table, string $column)
 
 odbc_connection_string_is_quoted (string $str)
 
 odbc_connection_string_should_quote (string $str)
 
 odbc_connection_string_quote (string $str)
 

Variables

const ODBC_TYPE = UNKNOWN
 
const ODBC_BINMODE_PASSTHRU = UNKNOWN
 
const ODBC_BINMODE_RETURN = UNKNOWN
 
const ODBC_BINMODE_CONVERT = UNKNOWN
 
const SQL_ODBC_CURSORS = UNKNOWN
 
const SQL_CUR_USE_DRIVER = UNKNOWN
 
const SQL_CUR_USE_IF_NEEDED = UNKNOWN
 
const SQL_CUR_USE_ODBC = UNKNOWN
 
const SQL_CONCURRENCY = UNKNOWN
 
const SQL_CONCUR_READ_ONLY = UNKNOWN
 
const SQL_CONCUR_LOCK = UNKNOWN
 
const SQL_CONCUR_ROWVER = UNKNOWN
 
const SQL_CONCUR_VALUES = UNKNOWN
 
const SQL_CURSOR_TYPE = UNKNOWN
 
const SQL_CURSOR_FORWARD_ONLY = UNKNOWN
 
const SQL_CURSOR_KEYSET_DRIVEN = UNKNOWN
 
const SQL_CURSOR_DYNAMIC = UNKNOWN
 
const SQL_CURSOR_STATIC = UNKNOWN
 
const SQL_KEYSET_SIZE = UNKNOWN
 
const SQL_FETCH_FIRST = UNKNOWN
 
const SQL_FETCH_NEXT = UNKNOWN
 
const SQL_CHAR = UNKNOWN
 
const SQL_VARCHAR = UNKNOWN
 
const SQL_LONGVARCHAR = UNKNOWN
 
const SQL_DECIMAL = UNKNOWN
 
const SQL_NUMERIC = UNKNOWN
 
const SQL_BIT = UNKNOWN
 
const SQL_TINYINT = UNKNOWN
 
const SQL_SMALLINT = UNKNOWN
 
const SQL_INTEGER = UNKNOWN
 
const SQL_BIGINT = UNKNOWN
 
const SQL_REAL = UNKNOWN
 
const SQL_FLOAT = UNKNOWN
 
const SQL_DOUBLE = UNKNOWN
 
const SQL_BINARY = UNKNOWN
 
const SQL_VARBINARY = UNKNOWN
 
const SQL_LONGVARBINARY = UNKNOWN
 
const SQL_DATE = UNKNOWN
 
const SQL_TIME = UNKNOWN
 
const SQL_TIMESTAMP = UNKNOWN
 
const SQL_TYPE_DATE = UNKNOWN
 
const SQL_TYPE_TIME = UNKNOWN
 
const SQL_TYPE_TIMESTAMP = UNKNOWN
 
const SQL_WCHAR = UNKNOWN
 
const SQL_WVARCHAR = UNKNOWN
 
const SQL_WLONGVARCHAR = UNKNOWN
 
const SQL_BEST_ROWID = UNKNOWN
 
const SQL_ROWVER = UNKNOWN
 
const SQL_SCOPE_CURROW = UNKNOWN
 
const SQL_SCOPE_TRANSACTION = UNKNOWN
 
const SQL_SCOPE_SESSION = UNKNOWN
 
const SQL_NO_NULLS = UNKNOWN
 
const SQL_NULLABLE = UNKNOWN
 
const SQL_INDEX_UNIQUE = UNKNOWN
 
const SQL_INDEX_ALL = UNKNOWN
 
const SQL_ENSURE = UNKNOWN
 
const SQL_QUICK = UNKNOWN
 

Function Documentation

◆ odbc_autocommit()

odbc_autocommit ( Odbc\Connection $odbc,
?bool $enable = null )

Definition at line 400 of file odbc.stub.php.

◆ odbc_binmode()

odbc_binmode ( Odbc\Result $statement,
int $mode )

Definition at line 334 of file odbc.stub.php.

◆ odbc_close()

odbc_close ( Odbc\Connection $odbc)

Definition at line 377 of file odbc.stub.php.

◆ odbc_close_all()

odbc_close_all ( )

Definition at line 332 of file odbc.stub.php.

◆ odbc_columnprivileges()

odbc_columnprivileges ( Odbc\Connection $odbc,
?string $catalog,
string $schema,
string $table,
string $column )

Definition at line 435 of file odbc.stub.php.

◆ odbc_columns()

odbc_columns ( Odbc\Connection $odbc,
?string $catalog = null,
?string $schema = null,
?string $table = null,
?string $column = null )

Definition at line 414 of file odbc.stub.php.

◆ odbc_commit()

odbc_commit ( Odbc\Connection $odbc)

Definition at line 402 of file odbc.stub.php.

◆ odbc_connect()

odbc_connect ( string $dsn,
?string $user = null,
# ?string $password[\SensitiveParameter] = null,
int $cursor_option = SQL_CUR_USE_DRIVER )

Definition at line 373 of file odbc.stub.php.

◆ odbc_connection_string_is_quoted()

odbc_connection_string_is_quoted ( string $str)

Definition at line 440 of file odbc.stub.php.

◆ odbc_connection_string_quote()

odbc_connection_string_quote ( string $str)

Definition at line 444 of file odbc.stub.php.

◆ odbc_connection_string_should_quote()

odbc_connection_string_should_quote ( string $str)

Definition at line 442 of file odbc.stub.php.

◆ odbc_cursor()

odbc_cursor ( Odbc\Result $statement)

Definition at line 342 of file odbc.stub.php.

◆ odbc_data_source()

odbc_data_source ( Odbc\Connection $odbc,
int $fetch_type )

Definition at line 345 of file odbc.stub.php.

◆ odbc_do()

odbc_do ( Odbc\Connection $odbc,
string $query )

@alias odbc_exec

Definition at line 351 of file odbc.stub.php.

◆ odbc_error()

odbc_error ( ?Odbc\Connection $odbc = null)

Definition at line 406 of file odbc.stub.php.

◆ odbc_errormsg()

odbc_errormsg ( ?Odbc\Connection $odbc = null)

Definition at line 408 of file odbc.stub.php.

◆ odbc_exec()

odbc_exec ( Odbc\Connection $odbc,
string $query )

Definition at line 348 of file odbc.stub.php.

◆ odbc_execute()

odbc_execute ( Odbc\Result $statement,
array $params = [] )

Definition at line 340 of file odbc.stub.php.

◆ odbc_fetch_array()

odbc_fetch_array ( Odbc\Result $statement,
?int $row = null )

Definition at line 356 of file odbc.stub.php.

◆ odbc_fetch_into()

odbc_fetch_into ( Odbc\Result $statement,
& $array,
?int $row = null )
Parameters
array$array

Definition at line 362 of file odbc.stub.php.

◆ odbc_fetch_object()

odbc_fetch_object ( Odbc\Result $statement,
?int $row = null )

Definition at line 354 of file odbc.stub.php.

◆ odbc_fetch_row()

odbc_fetch_row ( Odbc\Result $statement,
?int $row = null )

Definition at line 364 of file odbc.stub.php.

◆ odbc_field_len()

odbc_field_len ( Odbc\Result $statement,
int $field )

Definition at line 391 of file odbc.stub.php.

◆ odbc_field_name()

odbc_field_name ( Odbc\Result $statement,
int $field )

Definition at line 387 of file odbc.stub.php.

◆ odbc_field_num()

odbc_field_num ( Odbc\Result $statement,
string $field )

Definition at line 398 of file odbc.stub.php.

◆ odbc_field_precision()

odbc_field_precision ( Odbc\Result $statement,
int $field )

@alias odbc_field_len

Definition at line 394 of file odbc.stub.php.

◆ odbc_field_scale()

odbc_field_scale ( Odbc\Result $statement,
int $field )

Definition at line 396 of file odbc.stub.php.

◆ odbc_field_type()

odbc_field_type ( Odbc\Result $statement,
int $field )

Definition at line 389 of file odbc.stub.php.

◆ odbc_foreignkeys()

odbc_foreignkeys ( Odbc\Connection $odbc,
?string $pk_catalog,
string $pk_schema,
string $pk_table,
string $fk_catalog,
string $fk_schema,
string $fk_table )

Definition at line 425 of file odbc.stub.php.

◆ odbc_free_result()

odbc_free_result ( Odbc\Result $statement)

Definition at line 371 of file odbc.stub.php.

◆ odbc_gettypeinfo()

odbc_gettypeinfo ( Odbc\Connection $odbc,
int $data_type = 0 )

Definition at line 416 of file odbc.stub.php.

◆ odbc_longreadlen()

odbc_longreadlen ( Odbc\Result $statement,
int $length )

Definition at line 336 of file odbc.stub.php.

◆ odbc_next_result()

odbc_next_result ( Odbc\Result $statement)

Definition at line 382 of file odbc.stub.php.

◆ odbc_num_fields()

odbc_num_fields ( Odbc\Result $statement)

Definition at line 385 of file odbc.stub.php.

◆ odbc_num_rows()

odbc_num_rows ( Odbc\Result $statement)

Definition at line 379 of file odbc.stub.php.

◆ odbc_pconnect()

odbc_pconnect ( string $dsn,
?string $user = null,
# ?string $password[\SensitiveParameter] = null,
int $cursor_option = SQL_CUR_USE_DRIVER )

Definition at line 375 of file odbc.stub.php.

◆ odbc_prepare()

odbc_prepare ( Odbc\Connection $odbc,
string $query )

Definition at line 338 of file odbc.stub.php.

◆ odbc_primarykeys()

odbc_primarykeys ( Odbc\Connection $odbc,
?string $catalog,
string $schema,
string $table )

Definition at line 418 of file odbc.stub.php.

◆ odbc_procedurecolumns()

odbc_procedurecolumns ( Odbc\Connection $odbc,
?string $catalog = null,
?string $schema = null,
?string $procedure = null,
?string $column = null )

Definition at line 421 of file odbc.stub.php.

◆ odbc_procedures()

odbc_procedures ( Odbc\Connection $odbc,
?string $catalog = null,
?string $schema = null,
?string $procedure = null )

Definition at line 423 of file odbc.stub.php.

◆ odbc_result()

odbc_result ( Odbc\Result $statement,
string|int $field )

Definition at line 366 of file odbc.stub.php.

◆ odbc_result_all()

odbc_result_all ( Odbc\Result $statement,
string $format = "" )

Definition at line 369 of file odbc.stub.php.

◆ odbc_rollback()

odbc_rollback ( Odbc\Connection $odbc)

Definition at line 404 of file odbc.stub.php.

◆ odbc_setoption()

odbc_setoption ( Odbc\Connection|Odbc\Result $odbc,
int $which,
int $option,
int $value )

Definition at line 410 of file odbc.stub.php.

◆ odbc_specialcolumns()

odbc_specialcolumns ( Odbc\Connection $odbc,
int $type,
?string $catalog,
string $schema,
string $table,
int $scope,
int $nullable )

Definition at line 428 of file odbc.stub.php.

◆ odbc_statistics()

odbc_statistics ( Odbc\Connection $odbc,
?string $catalog,
string $schema,
string $table,
int $unique,
int $accuracy )

Definition at line 430 of file odbc.stub.php.

◆ odbc_tableprivileges()

odbc_tableprivileges ( Odbc\Connection $odbc,
?string $catalog,
string $schema,
string $table )

Definition at line 433 of file odbc.stub.php.

◆ odbc_tables()

odbc_tables ( Odbc\Connection $odbc,
?string $catalog = null,
?string $schema = null,
?string $table = null,
?string $types = null )

Definition at line 412 of file odbc.stub.php.

Variable Documentation

◆ ODBC_BINMODE_CONVERT

const ODBC_BINMODE_CONVERT = UNKNOWN

Definition at line 43 of file odbc.stub.php.

◆ ODBC_BINMODE_PASSTHRU

const ODBC_BINMODE_PASSTHRU = UNKNOWN

Definition at line 33 of file odbc.stub.php.

◆ ODBC_BINMODE_RETURN

const ODBC_BINMODE_RETURN = UNKNOWN

Definition at line 38 of file odbc.stub.php.

◆ ODBC_TYPE

const ODBC_TYPE = UNKNOWN

Definition at line 28 of file odbc.stub.php.

◆ SQL_BEST_ROWID

const SQL_BEST_ROWID = UNKNOWN

Definition at line 275 of file odbc.stub.php.

◆ SQL_BIGINT

const SQL_BIGINT = UNKNOWN

Definition at line 190 of file odbc.stub.php.

◆ SQL_BINARY

const SQL_BINARY = UNKNOWN

Definition at line 210 of file odbc.stub.php.

◆ SQL_BIT

const SQL_BIT = UNKNOWN

Definition at line 170 of file odbc.stub.php.

◆ SQL_CHAR

const SQL_CHAR = UNKNOWN

Definition at line 145 of file odbc.stub.php.

◆ SQL_CONCUR_LOCK

const SQL_CONCUR_LOCK = UNKNOWN

Definition at line 82 of file odbc.stub.php.

◆ SQL_CONCUR_READ_ONLY

const SQL_CONCUR_READ_ONLY = UNKNOWN

Definition at line 77 of file odbc.stub.php.

◆ SQL_CONCUR_ROWVER

const SQL_CONCUR_ROWVER = UNKNOWN

Definition at line 87 of file odbc.stub.php.

◆ SQL_CONCUR_VALUES

const SQL_CONCUR_VALUES = UNKNOWN

Definition at line 92 of file odbc.stub.php.

◆ SQL_CONCURRENCY

const SQL_CONCURRENCY = UNKNOWN

Definition at line 72 of file odbc.stub.php.

◆ SQL_CUR_USE_DRIVER

const SQL_CUR_USE_DRIVER = UNKNOWN

Definition at line 56 of file odbc.stub.php.

◆ SQL_CUR_USE_IF_NEEDED

const SQL_CUR_USE_IF_NEEDED = UNKNOWN

Definition at line 61 of file odbc.stub.php.

◆ SQL_CUR_USE_ODBC

const SQL_CUR_USE_ODBC = UNKNOWN

Definition at line 66 of file odbc.stub.php.

◆ SQL_CURSOR_DYNAMIC

const SQL_CURSOR_DYNAMIC = UNKNOWN

Definition at line 113 of file odbc.stub.php.

◆ SQL_CURSOR_FORWARD_ONLY

const SQL_CURSOR_FORWARD_ONLY = UNKNOWN

Definition at line 103 of file odbc.stub.php.

◆ SQL_CURSOR_KEYSET_DRIVEN

const SQL_CURSOR_KEYSET_DRIVEN = UNKNOWN

Definition at line 108 of file odbc.stub.php.

◆ SQL_CURSOR_STATIC

const SQL_CURSOR_STATIC = UNKNOWN

Definition at line 118 of file odbc.stub.php.

◆ SQL_CURSOR_TYPE

const SQL_CURSOR_TYPE = UNKNOWN

Definition at line 98 of file odbc.stub.php.

◆ SQL_DATE

const SQL_DATE = UNKNOWN

Definition at line 225 of file odbc.stub.php.

◆ SQL_DECIMAL

const SQL_DECIMAL = UNKNOWN

Definition at line 160 of file odbc.stub.php.

◆ SQL_DOUBLE

const SQL_DOUBLE = UNKNOWN

Definition at line 205 of file odbc.stub.php.

◆ SQL_ENSURE

const SQL_ENSURE = UNKNOWN

Definition at line 323 of file odbc.stub.php.

◆ SQL_FETCH_FIRST

const SQL_FETCH_FIRST = UNKNOWN

Definition at line 132 of file odbc.stub.php.

◆ SQL_FETCH_NEXT

const SQL_FETCH_NEXT = UNKNOWN

Definition at line 137 of file odbc.stub.php.

◆ SQL_FLOAT

const SQL_FLOAT = UNKNOWN

Definition at line 200 of file odbc.stub.php.

◆ SQL_INDEX_ALL

const SQL_INDEX_ALL = UNKNOWN

Definition at line 318 of file odbc.stub.php.

◆ SQL_INDEX_UNIQUE

const SQL_INDEX_UNIQUE = UNKNOWN

Definition at line 313 of file odbc.stub.php.

◆ SQL_INTEGER

const SQL_INTEGER = UNKNOWN

Definition at line 185 of file odbc.stub.php.

◆ SQL_KEYSET_SIZE

const SQL_KEYSET_SIZE = UNKNOWN

Definition at line 124 of file odbc.stub.php.

◆ SQL_LONGVARBINARY

const SQL_LONGVARBINARY = UNKNOWN

Definition at line 220 of file odbc.stub.php.

◆ SQL_LONGVARCHAR

const SQL_LONGVARCHAR = UNKNOWN

Definition at line 155 of file odbc.stub.php.

◆ SQL_NO_NULLS

const SQL_NO_NULLS = UNKNOWN

Definition at line 300 of file odbc.stub.php.

◆ SQL_NULLABLE

const SQL_NULLABLE = UNKNOWN

Definition at line 305 of file odbc.stub.php.

◆ SQL_NUMERIC

const SQL_NUMERIC = UNKNOWN

Definition at line 165 of file odbc.stub.php.

◆ SQL_ODBC_CURSORS

const SQL_ODBC_CURSORS = UNKNOWN

Definition at line 51 of file odbc.stub.php.

◆ SQL_QUICK

const SQL_QUICK = UNKNOWN

Definition at line 328 of file odbc.stub.php.

◆ SQL_REAL

const SQL_REAL = UNKNOWN

Definition at line 195 of file odbc.stub.php.

◆ SQL_ROWVER

const SQL_ROWVER = UNKNOWN

Definition at line 280 of file odbc.stub.php.

◆ SQL_SCOPE_CURROW

const SQL_SCOPE_CURROW = UNKNOWN

Definition at line 285 of file odbc.stub.php.

◆ SQL_SCOPE_SESSION

const SQL_SCOPE_SESSION = UNKNOWN

Definition at line 295 of file odbc.stub.php.

◆ SQL_SCOPE_TRANSACTION

const SQL_SCOPE_TRANSACTION = UNKNOWN

Definition at line 290 of file odbc.stub.php.

◆ SQL_SMALLINT

const SQL_SMALLINT = UNKNOWN

Definition at line 180 of file odbc.stub.php.

◆ SQL_TIME

const SQL_TIME = UNKNOWN

Definition at line 230 of file odbc.stub.php.

◆ SQL_TIMESTAMP

const SQL_TIMESTAMP = UNKNOWN

Definition at line 235 of file odbc.stub.php.

◆ SQL_TINYINT

const SQL_TINYINT = UNKNOWN

Definition at line 175 of file odbc.stub.php.

◆ SQL_TYPE_DATE

const SQL_TYPE_DATE = UNKNOWN

Definition at line 242 of file odbc.stub.php.

◆ SQL_TYPE_TIME

const SQL_TYPE_TIME = UNKNOWN

Definition at line 247 of file odbc.stub.php.

◆ SQL_TYPE_TIMESTAMP

const SQL_TYPE_TIMESTAMP = UNKNOWN

Definition at line 252 of file odbc.stub.php.

◆ SQL_VARBINARY

const SQL_VARBINARY = UNKNOWN

Definition at line 215 of file odbc.stub.php.

◆ SQL_VARCHAR

const SQL_VARCHAR = UNKNOWN

Definition at line 150 of file odbc.stub.php.

◆ SQL_WCHAR

const SQL_WCHAR = UNKNOWN

Definition at line 257 of file odbc.stub.php.

◆ SQL_WLONGVARCHAR

const SQL_WLONGVARCHAR = UNKNOWN

Definition at line 267 of file odbc.stub.php.

◆ SQL_WVARCHAR

const SQL_WVARCHAR = UNKNOWN

Definition at line 262 of file odbc.stub.php.