Commit Graph

6 Commits

Author SHA1 Message Date
Dmitry Kropachev
2f79f86b7c Fix USING TIMEOUT time generation (#299)
Scylla does not support fractions.
We need to make sure that time is formatted the following way: XmYsZms
2025-01-27 11:22:34 -04:00
Dmitry Kropachev
ab80d70106 Update golangci-lint and turn it on in CI 2024-06-19 08:08:54 +02:00
Gabriel Nelle
b56c610884 qb: avoid data race if rendering query builder in different go routines 2022-02-17 09:56:39 +01:00
Michał Matczuk
979397bc5e qb: add support for USING TIMEOUT clause
In scylladb/scylla#7781 we added possibility to add timeout as part of USING spec.
This patch adds support for it by adding `Timeout` and `TimeoutNamed` functions to builders.

Fixes #194
2021-08-03 15:05:23 +02:00
Michał Matczuk
96a8de1e1e qb: using, modernize writeCql
- Add writePreamble function to handle USING vs AND usages
- Use Fprintf to avoid string allocation
2021-08-03 15:05:23 +02:00
Michał Matczuk
fa402f3f0c qb: using ttl timestamp
Fixes: #40
2018-05-25 14:05:55 +02:00