if len(paginationOptions.KeySet) > 0 {
var values = make([]any, len(results))
lastResult := results[len(results)-1]
for i, c := range paginationOptions.KeySet {
values[i] = reflect.ValueOf(lastResult).FieldByName(c).Interface()
}
p.values = values
} else {
When embedding structs there are parts of the library that fall over
For example:
https://github.com/roneli/goqux/blob/main/execute.go#L107