You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** @var IEnumerable $q */
$q = new Linq\Query(<<<LINQ
from source in q
where q => 2 and q < 8
LINQ);
$q->addTerm('source', [ 1, 2, 3, 4, 5, 6, 7, 8 ]);
Example 2. Partially executed as SQL command
/** @var IEnumerable $q */
$q = new Linq\Query(<<<LINQ
from db.Product in p
join db.Category in c on c.id = p.category_id
where p.title like "%blue%" and myfunc(c.title)
LINQ);
$q->addTerm("db", $doctrine->getEntityManager());
$q->addTerm("myfunc", function($item) {
return strpos("closed", $item) === false;
});
The text was updated successfully, but these errors were encountered:
Example 1.
Example 2. Partially executed as SQL command
The text was updated successfully, but these errors were encountered: