goqux icon indicating copy to clipboard operation
goqux copied to clipboard

Library for simple CRUD, scanning & pagination using query builder in golang

Results 8 goqux issues
Sort by recently updated
recently updated
newest added

When adding an embedded fields like so: ``` type ColumnFields struct { ColA string `db:"col_a" json:"col_a"` ColB string `db:"col_b" json:"col_b"` } type TestStruct struct { ColumnFields } ``` We need...

Here's a couple examples https://github.com/gobeam/mongo-go-pagination/blob/master/pagination.go#L8. Adding this functionality would make it useful for API pagination.

This is still not working we need to somehow fix the insert part the select part if working

goqux has introduced new behavior with struct tags fields that is different than goqu. For example https://github.com/doug-martin/goqu/issues/433. I enjoy the SQL Building experience using goqux but want the flexibility to...

Currently encodeValues() Doesn't check for pointer to struct Doesn't work: ```go func encodeValues(v any, skipType string, skipZeroValues bool) map[string]SQLValuer { t := reflect.ValueOf(v) // if we received a map we...

I currently have: ``` go Resource struct { Id uuid.UUID `db:"id" json:"uuid" goqux:"skip_insert"` CreatedAt *time.Time `db:"created_at" json:"created_at" goqux:"skip_insert"` UpdatedAt *time.Time `db:"updated_at" json:"updated_at" goqux:"skip_insert"` DeletedAt *time.Time `db:"deleted_at" json:"deleted_at" goqux:"skip_insert"` Name string...

Instead of using reflection to look up the values of the structs on every call perhaps we could goqux could check for user provided cache? On init of the program...

When embedding structs there are parts of the library that fall over For example: ``` if len(paginationOptions.KeySet) > 0 { var values = make([]any, len(results)) lastResult := results[len(results)-1] for i,...