OdbcDatabaseDriver
final class OdbcDatabaseDriver implements DatabaseDriverInterface (View source)
Traits
Methods
escape(mixed $value)
string
escape_like_str(string $value)
string
escape_str(string $value, bool $like = false)
string
void
trans_strict(bool $mode = true)
void
trans_start(bool $testMode = false)
bool
bool
bool
bool
trans_begin(bool $testMode = false)
bool
bool
bool
void
void
void
void
__construct(OdbcConnection $connection, IdentifierEscaperInterface $identifierEscaper, IdentifierProtector $identifierProtector)
bool
void
close()
void
platform()
string
version()
string
query(string $sql, array|false $binds = false)
simple_query(string $sql)
bool
int
int|string|null
escape_identifiers(string $item)
string
protect_identifiers(string $item, bool $prefixSingle = false, bool|null $protectIdentifiers = null, bool $fieldExists = true)
string
Details
escape
string
escape(mixed $value)
No description
escape_like_str
string
escape_like_str(string $value)
No description
escape_str
string
escape_str(string $value, bool $like = false)
No description
trans_off
void
trans_off()
No description
trans_strict
void
trans_strict(bool $mode = true)
No description
trans_start
bool
trans_start(bool $testMode = false)
No description
trans_complete
bool
trans_complete()
No description
trans_status
bool
trans_status()
No description
trans_active
bool
trans_active()
No description
trans_begin
bool
trans_begin(bool $testMode = false)
No description
trans_commit
bool
trans_commit()
No description
trans_rollback
bool
trans_rollback()
No description
markTransactionFailure
protected void
markTransactionFailure()
No description
beginTransaction
protected void
beginTransaction()
No description
commitTransaction
protected void
commitTransaction()
No description
rollbackTransaction
protected void
rollbackTransaction()
No description
__construct
__construct(OdbcConnection $connection, IdentifierEscaperInterface $identifierEscaper, IdentifierProtector $identifierProtector)
No description
initialize
bool
initialize()
No description
reconnect
void
reconnect()
No description
close
void
close()
No description
platform
string
platform()
No description
version
string
version()
No description
simple_query
bool
simple_query(string $sql)
No description
affected_rows
int
affected_rows()
No description
insert_id
int|string|null
insert_id()
No description
escape_identifiers
string
escape_identifiers(string $item)
No description
protect_identifiers
string
protect_identifiers(string $item, bool $prefixSingle = false, bool|null $protectIdentifiers = null, bool $fieldExists = true)
No description