symfony - PHPCR property value escaping? -
i playing phpcr via symfony , it's bundles...i have following code:
$workspace = $this->session->getworkspace(); $querymanager = $workspace->getquerymanager(); // $sql = "select * [nt:unstructured] [nt:unstructured].[path] = '/about.html'"; $sql = "select * [nt:unstructured] [nt:unstructured].[path] = '/company'"; $query = $querymanager->createquery($sql, 'jcr-sql2'); $query->setlimit(1); $queryresult = $query->execute(); dump($queryresult->getnodes());
the first query not match - second works fine - both imported db , can see them via shell , mysql client.
i assume it's period throwing off match not sure how (or if?) need escape???
any ideas?
Comments
Post a Comment