Dmitry Kropachev
85ac2915b3
Use scylladb/scylla image ( #312 )
2025-04-24 14:02:37 -04:00
Dmitry Kropachev
741627dba7
Add renovate.json
2025-04-11 15:57:26 -04:00
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
ab73391f35
Add schemagen ssl options ( #294 )
2024-10-01 06:54:15 -04:00
Dmitry Kropachev
177161646e
Update README.md schemagen installation and usage ( #292 )
...
After `gocqlx` switched to `scylladb/gocql` driver due to the presence `replace`
dirrective in `go.mod` user can't ue `go install` anymore.
2024-10-01 06:51:56 -04:00
Dmitry Kropachev
ee39c9d541
Add --query-timeout and --connection-timeout options ( #293 )
2024-10-01 06:49:16 -04:00
Dmitry Kropachev
653faf1e03
Fix schemagen and test generated code
2024-06-28 13:26:45 +02:00
Dmitry Kropachev
fcd76082db
Switch to use scylla image instead of scylla version ( #277 )
...
Currently Makefile uses SCYLLA_VERSION to define docker image.
Switching to SCYLLA_IMAGE instead will help to target enterprise, nightly or custom image
2024-06-28 08:15:52 +02:00
Dmitry Kropachev
6a60650668
Marshal/Unmarshal missing UDT fields as null instead of failing in unsafe mode
...
We can't return an error in case a field is added to the UDT,
otherwise existing code would break by simply altering the UDT in the
database. For extra fields at the end of the UDT put nulls to be in
line with gocql, but also python-driver and java-driver.
In gocql it was fixed in https://github.com/scylladb/gocql/commit/d2ed1bb74f3118a83a352e9ce912be765001efa4
2024-06-25 12:32:16 +02:00
Dmitry Kropachev
c6f942afc7
Introduce Unsafe method on Queryx
...
It enables local control over `unsafe` mode for .Bind methods of `Queryx` and iterators
spawn by it.
2024-06-25 12:32:16 +02:00
Dmitry Kropachev
2eee0b00f1
Add additional methods to Batch similar to what exists on Queryx
2024-06-25 08:25:49 +02:00
Dmitry Kropachev
207ba8723e
Move from gocql/gocql to scylladb/gocql
2024-06-19 09:19:17 +02:00
Dmitry Kropachev
ab80d70106
Update golangci-lint and turn it on in CI
2024-06-19 08:08:54 +02:00