simplereach/helenus — pull request #83 by kzadorozhny (2012-10-24 16:17:52+00:00)
Title: Boolean values need to enclosed in single quotes

There is an error in C* documentation about literals in CQL2/3.

Boolean values need to be enclosed in single quotes. It's true for both CQL2 and CQL3.

```sql
CREATE TABLE users (
id text,
name text,
email text,
verified boolean,
PRIMARY KEY (id)
);
```

```sql
UPDATE users SET verified = true WHERE id = '1';
```

Bad Request: line 1:33 no viable alternative at input 'WHERE'

```sql
UPDATE users SET verified = 'true' WHERE id = '1';
```

Success.

```sql
SELECT id, verified FROM users WHERE id = '1';
```

```
id | verified_email
----+----------------
3 | True
```