|
@@ -692,11 +692,11 @@ func Utiltags(tag map[string]interface{}) string {
|
|
|
// })
|
|
|
ffBoolObject.Must = append(ffBoolObject.Must, sql.ExistfieldsObjectMust{
|
|
|
ExistfieldsObject: &sql.ExistfieldsObject{Filter: struct {
|
|
|
- Missing struct {
|
|
|
+ Exists struct {
|
|
|
Field string `json:"field,omitempty"`
|
|
|
- } `json:"missing,omitempty"`
|
|
|
+ } `json:"exists,omitempty"`
|
|
|
}{
|
|
|
- Missing: struct {
|
|
|
+ Exists: struct {
|
|
|
Field string `json:"field,omitempty"`
|
|
|
}{Field: v},
|
|
|
},
|
|
@@ -824,11 +824,11 @@ func Utiltags(tag map[string]interface{}) string {
|
|
|
// })
|
|
|
fqBoolObject.MustNot = append(fqBoolObject.MustNot, sql.ExistfieldsObjectMust{
|
|
|
ExistfieldsObject: &sql.ExistfieldsObject{Filter: struct {
|
|
|
- Missing struct {
|
|
|
+ Exists struct {
|
|
|
Field string `json:"field,omitempty"`
|
|
|
- } `json:"missing,omitempty"`
|
|
|
+ } `json:"exists,omitempty"`
|
|
|
}{
|
|
|
- Missing: struct {
|
|
|
+ Exists: struct {
|
|
|
Field string `json:"field,omitempty"`
|
|
|
}{Field: "bidamount"},
|
|
|
},
|
|
@@ -872,11 +872,11 @@ func Utiltags(tag map[string]interface{}) string {
|
|
|
// })
|
|
|
fqBoolObject.MustNot = append(fqBoolObject.MustNot, sql.ExistfieldsObjectMust{
|
|
|
ExistfieldsObject: &sql.ExistfieldsObject{Filter: struct {
|
|
|
- Missing struct {
|
|
|
+ Exists struct {
|
|
|
Field string `json:"field,omitempty"`
|
|
|
- } `json:"missing,omitempty"`
|
|
|
+ } `json:"exists,omitempty"`
|
|
|
}{
|
|
|
- Missing: struct {
|
|
|
+ Exists: struct {
|
|
|
Field string `json:"field,omitempty"`
|
|
|
}{Field: "budget"},
|
|
|
},
|