Cassandra CQL: Cannot Insert

This is my request.

insert into a1('name',age') values ('dinesh's',12);

I cannot insert a value using Cassandra CQL.

How to remove Cassandra escape character using PHP Cassandra CQL?

+5
source share
1 answer

To avoid single quotes in CQL, you double them, for example, to enter a string dinesh's, you write 'dinesh''s'.

See a similar question on the mailing list:

+13
source

All Articles