azuqua / cassanknex

A CQL query builder written in the spirit of Knexjs
MIT License
50 stars 10 forks source link

Add object style 'set' call #5

Closed UnbounDev closed 9 years ago

UnbounDev commented 9 years ago

set can now be called using a single object as the function parameter; e.g.

var qb = cassanknex("keyspaceName")
  .update("columnFamilyName")
  .set({ "foo": "bar", "baz": ["foo", "bar"] });