Commit Graph

9 Commits

Author SHA1 Message Date
Michał Matczuk
a8febbc71e testing: benchmarks moved to separate files 2018-05-23 09:39:22 +02:00
Josh Giles
12d360a0c3 Support for literals in INSERT and UPDATE and comparisons
The 'value' interface represents a CQL value for use in a comparison,
update, or intitialization operation. A consistent interface for this
allows us to easily support specifying default-named, custom-named,
literal, and evaluated-function values in all these contexts.

Parameters to Func should probably also be values to support full
composition, but that would be a breaking change because Func's
properties are exposed.

The value interface could itself be exposed if we wanted to allow
clients to pass their own values to SetValue, etc, but for now it is a
package-internal abstraction.

BLA
2018-04-20 14:52:47 +02:00
Michał Matczuk
557674a886 qb: update builder advanced assignments 2017-09-22 09:48:19 +02:00
Michał Matczuk
9e40fcfed4 license: added license header 2017-09-21 21:43:27 +02:00
Michał Matczuk
8d47a6d133 qb: fixed benchmarks 2017-08-03 17:02:22 +02:00
Michał Matczuk
906f9433fe qb: TTL and Timestamp named parameters 2017-08-02 10:24:27 +02:00
Michał Matczuk
eb033c4922 qb: removed error from builder ToCql function
Builder is not in a position to validate the statement and the effort is
duplicated when the query is build. The checked errors are simple and
do not occur most of the time.
2017-07-28 12:11:43 +02:00
Michał Matczuk
2afe71e2b9 qb: cmp 2017-07-28 12:11:39 +02:00
Michał Matczuk
69dad13e4b qb: update, delete and performance improvements 2017-07-27 15:08:09 +02:00