Commit Graph

14 Commits

Author SHA1 Message Date
Drahflow
72221591cc Add <Cmp>TupleNamed for range-queries on tuples 2022-02-17 09:57:52 +01:00
pierDipi
180d58ce46 Move ne comparator below eq comparator (#119)
qb: Move ne comparator below eq comparator

Signed-off-by: pierdipi <pierangelodipilato@gmail.com>
2019-11-07 06:29:21 -08:00
pierdipi
6f13526544 Add not equal comparator (!=)
The `qb.Cmp` lacks `not equal` methods related to the operator `!=`
even though the documentation
https://docs.scylladb.com/getting-started/dml/#select-statement mentions
it.

Closes: #114

Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
2019-11-03 10:01:59 +01:00
Henrik Johansson
219bceab51 qb: tuple support 2019-05-14 09:12:06 +02:00
Maxim Karelov
6100d3b4c2 Add qb.Like to query keys 2019-01-14 21:41:24 +01:00
Vincent Rischmann
2f13a81c46 Add qb.ContainsKey to query keys in a map (#57)
qb: add ContainsKey and ContainsKeyNamed
2018-07-28 06:56:44 +02:00
Michał Matczuk
fa402f3f0c qb: using ttl timestamp
Fixes: #40
2018-05-25 14:05:55 +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
fdb26806a9 qb: extracted function from cmp 2017-09-22 09:35:02 +02:00
Michał Matczuk
9e40fcfed4 license: added license header 2017-09-21 21:43:27 +02:00
Michał Matczuk
2e903a54e0 cmp: functions support 2017-08-30 16:05:14 +02:00
Michał Matczuk
41bb8def2a qb: doc 2017-07-31 15:30:26 +02:00
Michał Matczuk
2afe71e2b9 qb: cmp 2017-07-28 12:11:39 +02:00