Hi, Did you try select from test where value like ? and pass %value% there ?
On Wed, Feb 12, 2014 at 7:21 PM, Claudio <giastfa...@gmail.com> wrote: > Hi guys, > just a question on preparaed statements and the like operator. > > if I have a statement like this: > select from test where key like "%value%" > and I want to use the prepared statement, how am I supposed to do it? > > Because if I write: > select from test where value like "%?%" > the question mark isn't parsed, whereas > select from test where value like %?% > without the quotes is not valid > > Any suggestion? > > Thanks > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to orient-database+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- Best regards, Andrey Lomakin. Orient Technologies the Company behind OrientDB -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.