->selectAdd() (Previous) (Next) ->escape()

View this page in Last updated: Sun, 24 Aug 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

->whereAdd()

->whereAdd() -- Ajoute une instruction WHERE

Description

Ajoute des éléments à la partie de l'instruction WHERE d'une requête SQL. L'appel à cette méthode sans aucun argument efface l'instruction WHERE. Le comportement ar défaut est d'ajouter 'AND' aux conditions existantes, utilisez le paramètre $logic pour ajouter des conditions 'OR'.

Paramètres

  • string $cond - condition à ajouter, ou vide pour effacer les conditions existantes

  • string $logic - logique, optionnel "OR" (par défaut, vaut "AND")

Note

Cette fonction ne peut pas être appelée de façon statique.

Voir aussi

->selectAdd() (Previous) (Next) ->escape()

Download Documentation Last updated: Sun, 24 Aug 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.