Skip to content

Instantly share code, notes, and snippets.

@vineeth030
Last active May 29, 2020 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vineeth030/72a2887554f341c29c6ae6e80d225b51 to your computer and use it in GitHub Desktop.
Save vineeth030/72a2887554f341c29c6ae6e80d225b51 to your computer and use it in GitHub Desktop.
<?php
$conditions = [
['column_1', '=', 100],
['column_2', '>', 200],
['column_3', '<', 350],
['column_4', '=', 400],
['column_5', '>', 150]
];
$query->where($conditions)->get();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment