-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
https://fenos.github.io/dqlx/docs/mutations/set
The example has a dot to much and does not work since the type does not fit
data := []map[string]interface{}{
{
"uid": "uid(v)",
"email": "user@company1.io",
"name": "first name"
},
}
userByEmailQuery := dqlx.Query(dqlx.EqFn("email", "user@company1.io")).
.Select(` // There shouldn't be a Dot here
v as uid
name
`)
resp, err := db.Mutation().
Query(userByEmailQuery). // Type does not implement 'DQLizer'
Set(data).
Execute(ctx)Metadata
Metadata
Assignees
Labels
No labels