Zend Framework

No example of SELECT stuff WHERE id IN ()

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.2
  • Fix Version/s: 1.9.6
  • Component/s: Zend_Db
  • Labels:
    None
  • Language:
    English

Description

No example of:

SELECT *
FROM table
WHERE id IN (1,2,3)

http://framework.zend.com/manual/en/zend.db.select.html#zend.db.select.building.where

googling gives us this link:

http://www.zfforums.com/zend-framework-components-13/databases-20/where-statement-2398.html

which is wrong for the latest version.

Activity

Hide
monk e boy added a comment -

changed from major to minor

Show
monk e boy added a comment - changed from major to minor
Hide
Bradley Holt added a comment -

Attached is a patch adding documentation on using an array with the IN operator.

Show
Bradley Holt added a comment - Attached is a patch adding documentation on using an array with the IN operator.
Hide
Matthew Weier O'Phinney added a comment -

Patch applied to trunk and 1.9 release branch – thanks!

Show
Matthew Weier O'Phinney added a comment - Patch applied to trunk and 1.9 release branch – thanks!

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: