D7 API documentation
What's New
Modules
Main module in old core
Connection constructor
add
clearCaches
commitTransaction
connect
createIndex
createPrimaryIndex
disableQueryExecuting
disconnect
dropColumn
dropTable
enableQueryExecuting
executeSqlBatch
getAffectedRowsCount
getDbHost
getDbLogin
getDbName
getDisabledQueryExecutingDump
getIndexName
getNodeId
getSqlHelper
getTableField
getTableFields
getTracker
getType
getVersion
isIndexExists
isTableExists
query
queryExecute
queryScalar
renameTable
rollbackTransaction
setConnectionResourceNoDemand
setNodeId
setTracker
startTracker
startTransaction
stopTracker
truncateTable
getVersion
array public \Bitrix\Main\DB\Connection::getVersion( );
This non-static abstract method returns version of connected database.
The version is presented in array of two elements:
- First (with index 0) is database version.- Second (with index 1) is true when light/express version of database is used.
No parameters
Exceptions
Examples
© «Bitrix24», 2001-2024
Up