Search
API Documentation
- Doctrine
- Doctrine-association
- Doctrine-association-manytomany
- Doctrine-association-onetomany
- Doctrine-association-onetoone
- Doctrine-classmetadata
- Doctrine-classmetadata-yamldriver
- Doctrine-configurable
- Doctrine-configuration
- Doctrine-connectionfactory
- Doctrine-connection-unitofwork
- Doctrine-entitymanager
- Doctrine-entitymanagerfactory
- Doctrine-entitypersister-abstract
- Doctrine-entitypersister-joinedsubclass
- Doctrine-eventmanager
- Doctrine-eventsubscriber
- Doctrine-internal-commitordercalculator
- Doctrine-internal-commitordernode
- Doctrine-query-parserresultdummy
- Abstract
- Access
- Adapter
- Auditlog
- Builder
- Cache
- Classmetadata
- Cli
- Collection
- Compiler
- Connection
- Data
- Datadict
- Entity
- Entityrepository
- Event
- Eventlistener
- Exception
- Export
- Expression
- File
- Filefinder
- Formatter
- Hook
- Hydrate
- Hydrator
- I18n
- Import
- Inflector
- Lib
- Locking
- Log
- Manager
- Migration
- Node
- Null
- Overloadable
- Pager
- Parser
- Plugin
-
Query
- Query
- Abstract
- AbstractResult
- CacheHandler
- Exception
- Filter
- Chain
- Interface
- Parser
- ParserResult
- Printer
- Production
- ProductionParamHolder
- AggregateExpression
- Atom
- BetweenExpression
- ComparisonExpression
- ComparisonOperator
- ConditionalExpression
- ConditionalFactor
- ConditionalPrimary
- ConditionalTerm
- DeleteClause
- DeleteStatement
- ExistsExpression
- Expression
- Factor
- FieldIdentificationVariable
- FromClause
- Function
- GroupByClause
- GroupByItem
- HavingClause
- IdentificationVariable
- IdentificationVariableDeclaration
- IndexBy
- InExpression
- Join
- LikeExpression
- LimitClause
- NullComparisonExpression
- OffsetClause
- OrderByClause
- OrderByItem
- PathExpression
- PathExpressionEndingWithAsterisk
- Primary
- QuantifiedExpression
- QueryLanguage
- RangeVariableDeclaration
- SelectClause
- SelectExpression
- SelectStatement
- SimpleConditionalExpression
- SimpleSelectClause
- Subselect
- Term
- UpdateClause
- UpdateItem
- UpdateStatement
- VariableDeclaration
- WhereClause
- QueryResult
- Registry
- Scanner
- SqlBuilder
- Abstract
- MultiTableUpdate
- Token
- Tokenizer
- Rawsql
- Record
- Relation
- Search
- Sequence
- Singletabledeleteupdate
- Spyc
- Task
- Template
- Transaction
- Tree
- Validator
- View
Development Doctrine_Adapter_Mysqli
- Home
- Documentation
- Development API Documentation
- Doctrine_Adapter_Mysqli
Doctrine Adapter Mysqli
Doctrine_Adapter_Mysqli This class is used for special testing purposes.
Method Summary
| Returns | Name | Description |
|---|---|---|
| closeConnection | ||
| integer | lastInsertId | As a convention, on RDBMS brands that support sequences (e.g. Oracle, PostgreSQL, DB2), this method forms the name of a sequence from the arguments and returns the last id generated by that sequence. On RDBMS brands that support IDENTITY/AUTOINCREMENT |
| Doctrine_Statement_Mysqli | prepare | |
| _beginTransaction | ||
| _commit | ||
| _connect | ||
| _rollBack |
Method Details
-
closeConnection()
Force the connection to close.
-
$tableName OPTIONAL Name of table. $primaryKey OPTIONAL Name of primary key column. (integer) lastInsertId($tableName = null, $primaryKey = null)
Gets the last ID generated automatically by an IDENTITY/AUTOINCREMENT column.
As a convention, on RDBMS brands that support sequences (e.g. Oracle, PostgreSQL, DB2), this method forms the name of a sequence from the arguments and returns the last id generated by that sequence. On RDBMS brands that support IDENTITY/AUTOINCREMENT
-
$sql SQL query (Doctrine_Statement_Mysqli) prepare($sql)
Prepare a statement and return a PDOStatement-like object.
-
_beginTransaction()
Begin a transaction.
-
_commit()
Commit a transaction.
-
_connect()
Creates a connection to the database.
throws Doctrine_Adapter_Mysqli_Exception
-
_rollBack()
Roll-back a transaction.




Comments (0) [ add comment ]
No Comments
Add Comment