Closed jesse-gallagher closed 1 year ago
Though a literal ' in a DQL string should be escaped as '', the rules are actually C-style inside the @formula function. For example, the formula @Begins(FirstName; "Fo'") should be written in DQL like @formula('@Begins(FirstName; "Fo\'")').
'
''
@formula
@Begins(FirstName; "Fo'")
@formula('@Begins(FirstName; "Fo\'")')
Though a literal
'
in a DQL string should be escaped as''
, the rules are actually C-style inside the@formula
function. For example, the formula@Begins(FirstName; "Fo'")
should be written in DQL like@formula('@Begins(FirstName; "Fo\'")')
.