Gian Lorenzo Meocci
9239d9c4b4
add UseColums function to avoid extra allocation performed by Colums function
...
fix name
tidy
adding SetWhere
adding SetWhere
fix go mod
fix comment style
revert go mod
Avoid to append if no needed
fix git ignore
revert change in go.sum/go.mod
adding specific benchmark
2019-12-16 11:14:11 +01:00
Michał Matczuk
1668ca5832
Updated golandci-lint to 1.21.0
...
Signed-off-by: Michał Matczuk <michal@scylladb.com >
2019-11-07 16:13:50 -08:00
Martin Sucha
75adfd59ee
Add support for BYPASS CACHE
...
This commit adds support for BYPASS CACHE extension that is present in
ScyllaDB since 3.1 / 2019.1.1.
https://docs.scylladb.com/getting-started/dml/#bypass-cache
2019-09-17 09:35:54 +02:00
Henrik Johansson
31ae81aba6
qb: json support
2019-05-14 08:52:59 +02:00
Michal Matczuk
b7e4f7e8b7
qb: insert support order by multiple columns ( #79 )
...
Fixes #78
2018-11-15 11:55:45 +01:00
sagarafr
a503f75a9c
fix(perf): Fixed performance
...
* Performance are better when you write columns byte by
byte rather than string generation
2018-11-09 16:32:05 +01:00
sagarafr
19dedfc6a0
fix(qb): Fixed group by generation
...
* In qb/select.go, if there are no colums and the query have a GroupBy
statement then the query will be malformated.
* In qb/utils.go, refactor writeCql with a strings.Join call.
2018-11-09 16:32:05 +01:00
SpiritOfWill
5526e60464
Add aggregation function to select query builder ( #39 )
...
qb: added min, max, avg, sum, and count to SelectBuilder
2018-05-15 14:07:35 +02:00
Josh Giles
6051038fa5
Add ColumnAs for 'SELECT col AS name' queries. ( #24 )
...
Add As helper for 'SELECT col AS name' queries
Clients could do this hackily before by manually passing "col AS name",
but it isn't clearly supported.
2017-12-15 09:53:37 +01:00
Michał Matczuk
9e40fcfed4
license: added license header
2017-09-21 21:43:27 +02:00
Michał Matczuk
41bb8def2a
qb: doc
2017-07-31 15:30:26 +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
546e11d58f
qb: select
2017-07-28 12:10:50 +02:00