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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -