jackalope/jackalope — pull request #70 by pitpit (2012-01-08 17:32:46+00:00)
Title: fixes typos in Transport/DoctrineDBAL/Query/QOMWalker.php

test case (with doctrine phpcr odm):
$sql = "SELECT * from [nt:unstructured] WHERE ischildnode([nt:unstructured], [{$node->getId()}]))";
$query = $dm->createQuery($sql, 'JCR-SQL2');
$children = $dm->getDocumentsByQuery($query, null);

cause the following exception:
Notice: Undefined variable: contraint in /mnt/workspace/dcc/vendor/jackalope/src/Jackalope/Transport/DoctrineDBAL/Query/QOMWalker.php line 116