ql-io / ql.io

A node.js based declarative, data-retrieval and aggregation gateway for quickly consuming HTTP APIs
http://ql.io
Other
931 stars 112 forks source link

select expressions do not support comparison to true or false #591

Open ithinkihaveacat opened 11 years ago

ithinkihaveacat commented 11 years ago

It's not possible to select ... where foo = true or select ... where foo = false.

That is,

data = [
  { "id": 1, "foo": true },
  { "id": 2, "foo": false }
];

return select * from data where foo = true;

does not return any results.

Replacing the expression with id = 1 returns a single result, as expected.

ithinkihaveacat commented 11 years ago

(Pull request #592 will fix this.)

ithinkihaveacat commented 9 years ago

Is anyone still working on ql.io? The http://ql.io/ domain doesn't even resolve right now.

@s3u @hochang