PHP Pheasant\Database Binder::magicBind - 3 examples found. These are the top rated real world PHP examples of Pheasant\Database\Binder::magicBind extracted from open source projects. You can rate examples to help us improve the quality of examples.
Like bind(), but adds some magic:
- a=? becomes a IS NULL if passed null
- a!=? or a<>? becomes a IS NOT NULL if passed null
- a=? becomes a IN (1, 2, 3) if passed array(1, 2, 3)
- a!=? or a<>? becomes a NOT IN (1, 2, 3) if passed array(1, 2, 3)