Skip to content

Add method for flexible WHERE conditions - #14

Open
leorsida wants to merge 1 commit into
bennettstone:masterfrom
leorsida:master
Open

leorsida wants to merge 1 commit into
bennettstone:masterfrom
leorsida:master

Conversation

@leorsida

Copy link
Copy Markdown

I created a new method to allow flexible updates, for example:
if a condition must be greater than or equal to
$update_where = array( 'user_id' => 44, 'age[>=]' => 18 )
if it is different" / "if it is not equal
$update_where = array( 'age[>]' => 18, 'status[!=]' => 'inactive' )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant