usernane / phMysql

PHP library for building MySQL database schema and quires.
MIT License
4 stars 2 forks source link

Support for Multi-Column Value in 'Select' #5

Closed usernane closed 4 years ago

usernane commented 5 years ago

Currently, the library only support one condition per column in 'where' clause. The library should be apple to handle multiple conditions (e.g : *select from my_table where my_col = 'val_1' or my_col = 'val_2**).

This supported only if the type of index in 'condition-cols-and-vals' is a value. It should be supported in case of given index is a column index.