Top "Zend-db" questions

Database access component for the Zend Framework.

Zend Framework: How to retrieve the id of the last inserted row?

I'm inserting a new row into my database with this code: $data = array( 'key' => 'value' ); $this->getDbTable()-&…

php zend-framework zend-db zend-db-table
Zend Framework Db Select Join table help

I have this query: SELECT g.title, g.asin, g.platform_id, r.rank FROM games g INNER JOIN ranks …

sql zend-framework select join zend-db
Zend framework group by

I'm trying to do a group by using Zend framework. Here's my code: $table = new TableClass(); $select = $table->select(); $…

zend-framework zend-db
Zend-framework DB: OR instead of AND operator

have such zend query: $select = $this->_table ->select() ->where('title LIKE ?', '%'.$searchWord.…

zend-framework zend-db
Zend_Db: fetchAll() or query()/fetch() for a huge number of records

Assuming I have $db is an instance of Zend_Db_Adapter_Abstract and $sql = 'SELECT blah blah FROM table' will …

php zend-framework zend-db
How to Use Multiple Conditions In An Update Statement With Zend_Db And QuoteInto

Using Zend Framework, is there a way to pass multiple conditions to an update statement using the quoteInto method? I've …

zend-framework zend-db
Zend Framework 2 Sql Select with OR and AND

I want to make this query using Zend\Db\Sql\Select: SELECT table1.* FROM table1 INNER JOIN table2 ON table1.…

zend-framework2 zend-db
Zend Framework: How to find a table row by the value of a specified column?

I am implementing my model exactly like the quickstart guide. In my model I am trying to implement a findByToken() …

zend-framework zend-db zend-db-table
Zend DB fetchAll(): where clause array with IN operator

I'm selecting records from a database using the equivalent of this query: SELECT * FROM reports WHERE user_id IN (3, 6, 22); The …

php sql zend-db