Automated UDT support
This patch adds the power of GocqlX to UDTs.
Now you can make a struct be UDT compatible by adding a single line.
```
type FullName struct {
gocqlx.UDT
FirstName string
LastName string
}
```
Signed-off-by: Michał Matczuk <michal@scylladb.com>
This commit is contained in:
committed by
Michal Jan Matczuk
parent
2569c3dd8f
commit
ab279e68ed
@@ -8,10 +8,11 @@ Package `gocqlx` is an idiomatic extension to `gocql` that provides usability fe
|
||||
|
||||
## Features
|
||||
|
||||
* Binding query parameters form struct or map
|
||||
* Scanning results directly into struct or slice
|
||||
* Binding query parameters form struct
|
||||
* Scanning results into struct or slice
|
||||
* Automated UDT support
|
||||
* CRUD operations based on table model ([package table](https://github.com/scylladb/gocqlx/blob/master/table))
|
||||
* CQL query builder ([package qb](https://github.com/scylladb/gocqlx/blob/master/qb))
|
||||
* Super simple CRUD operations based on table model ([package table](https://github.com/scylladb/gocqlx/blob/master/table))
|
||||
* Database migrations ([package migrate](https://github.com/scylladb/gocqlx/blob/master/migrate))
|
||||
* Fast!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user