You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but the query method has a dependency on an interface DQLizer which has the method signature: ToDQL() (query string, args []interface{}, err error)
Using the query builder in your example:
userByEmailQuery := dqlx.Query(dqlx.EqFn("email", "user@company1.io")).
.Select(`
v as uid
name
`)
given us an instance of QueryBuilder which has the method ToDQL() (query string, args map[string]string, err error) that is not match to the DQLizer method:
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Hi, thank you for your library,
I was trying to make an upsert block https://dgraph.io/docs/mutations/upsert-block/#example-of-uid-function and I see in your documentation: https://fenos.github.io/dqlx/docs/mutations/set#logical-upsert the way to do it. But there is a type error.
In your example you add a Query in the mutation like this:
but the query method has a dependency on an interface DQLizer which has the method signature:
ToDQL() (query string, args []interface{}, err error)
Using the query builder in your example:
given us an instance of QueryBuilder which has the method
ToDQL() (query string, args map[string]string, err error)
that is not match to the DQLizer method:The text was updated successfully, but these errors were encountered: