Closed sanmayad closed 6 years ago
Hi! The best place for help requests is StackOverflow. More people look there for questions to answer. Just tag the question with Idiorm, and you're likely to see very quick responses. GitHub is a great place to report bugs and suggest patches.
Without testing any code, the following seems like it should work ...
$expenses = ORM::for_table('account')->select('task');
if ($goal > 0) {
$expenses = $expenses->where('goal', $goal)
}
$expenses = $expenses->find_many();
I want to do something like
Can I do it in any way?