We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f993dd1 commit 2043e70Copy full SHA for 2043e70
tests/06_Query/CharacterTest.php
@@ -100,4 +100,17 @@ public function testPropertyWithQuotesAndBackslash()
100
$this->assertCount(1, $rows);
101
$this->assertEquals("'a\'\'b\'\'c'", $rows->current()->getValue('quoteandbackslash'));
102
}
103
+
104
+ public function testQueryWithColon()
105
+ {
106
+ /** @var QueryManager $queryManager */
107
+ $queryManager = $this->sharedFixture['qm'];
108
+ $query = $queryManager->createQuery('
109
+ SELECT data.property
110
+ FROM [nt:unstructured] AS data
111
+ WHERE data.property = "foo:bar"
112
+ ',
113
+ QueryInterface::JCR_SQL2
114
+ )->execute();
115
+ }
116
0 commit comments