gocqlx
gocqlx copied to clipboard
All-In-One: CQL query builder, ORM and migration tool
https://github.com/scylladb/gocqlx/blob/master/qb/select.go#L83 https://docs.datastax.com/en/cql-oss/3.x/cql/cql_reference/ucase-lcase_r.html Unless enclosed in double quotation mark, identifier is case-insensitive. Currently, construrct like this: ``` table.New(table.Metadata{ Name: "aBc", ... }) ``` doesn't work unless you manually add quotes to...
@mmatczuk I made this PR as a draft version for the purpose of POC. The code has't been carefully polished yet. Please just have a quick look and let me...
Use cases: 1. Single entity: Employ{id, first name, second name, nick name, age} I want to search by nick name, so I will have two tables for this single entity:...
Current example for batch insert https://github.com/scylladb/gocqlx/blob/master/example_test.go#L105 uses implementation with anonymous struct. This is something that is rarely used in practice. What is actually needed is a way to iterate over...
We want to be able to ignore certain tables (e.g. `gocqlx_migrate`), views and indexes when using `cmd/schemagen`. To do this, we have implemented two new flags: - `ignore`, a comma-separated...
In https://github.com/scylladb/gocqlx/pull/190 I forgot to update the comment of `GetQueryContext` as well. This PR fixes this.
Just added the timeout flag for the cluster.ConnectTimeout I needed for my server so thought it can be useful for others too.
1. when generating schema, embeded gocqlx.UDT in user define struct. 2. support recursive container parsing, just like below: frozen
``` create type type1 ( f1 text, f2 int, ); create type type2 ( f1 frozen, ); create type type3 ( f1 frozen, ); --- type Typ1 struct { gocqlx.UDT...
I believe some of the code comments is misleading. The **SelectQueryContext** operation is by partition key, however **GetQueryContext** is by the full primary key? https://github.com/scylladb/gocqlx/blob/a112b4c31a2b97ab07420d7dd48a3fa455467e99/table/table.go#L100  Observationally it seems to...