PHP Pheasant\Database Binder::magicBind - 3개의 예제가 발견되었습니다. 이것들은 오픈소스 프로젝트에서 추출된 PHP의 Pheasant\Database\Binder::magicBind에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.
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)