gocqlx icon indicating copy to clipboard operation
gocqlx copied to clipboard

All-In-One: CQL query builder, ORM and migration tool

Results 48 gocqlx issues
Sort by recently updated
recently updated
newest added

Hello, In the following PR we are adding a Batch wrapper on gocqlx library for binding the object instead of using named columns. Please have a look and let me...

Hi, I've multiple microservices in my project and I want to have separate cql migration files containing only tables for specific services. For example, service1 has 3 tables and service2...

Migrate uses Query with Context [1](https://github.com/scylladb/gocqlx/blob/fc92258512d39bff365cae10d452a63cc1afc932/migrate/migrate.go#L243) [2](https://github.com/scylladb/gocqlx/blob/fc92258512d39bff365cae10d452a63cc1afc932/migrate/migrate.go#L190). The problem is that the context may be canceled when migration statement is sent but before it's recorded in gocqlx migration table. To...

bug

We need to fix relevant issues and disable irrelevant checks.

is there any plan to update the project to go 1.18?

There is a query builder code using the table model `table.SchedRun.UpdateBuilder("status").If(qb.EqLit("status", "RUNNING"))`, it generates ``` AAA [query statement="UPDATE scheduler_task_run SET status=? WHERE cluster_id=? AND type=? AND task_id=? AND id=? IF...

bug
help wanted

We should be able to scan and bind arrays and slices. At the moment ```go func datatypesTuplesSimple(t *testing.T, session gocqlx.Session) { err := session.ExecStmt(`CREATE KEYSPACE IF NOT EXISTS examples WITH...

help wanted

When the client did an atomic-increment operation and the "id" which is "text" was getting converted to "int" explicitly by the driver. The gocqlx driver internally is converting to cql...

bug
help wanted

I have a weird use case where I must expose values after mapping (through any form of binding) from a Queryx struct; Currently, I'm able to retrieve `statement` and `names`...

It should be possible to never use hand written field names. Having them anchored makes refactoring safer.