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
One thing that would be really nice would be to have support for F# option types.
e.g.
typePerson={ Name :string option; Age :int }...letq=
query {for person in context.Query<Person>()do
where (person.Name = Some("Roger"))
select person
}
This results in a syntax error when emitting the N1QL, which tbh was expected, but as F# does not use null or nullable types but rather Option types, this would be a nice addition.
Half of it already works, you can query for person.Name = None and I guess None somehow gets translated to null somewhere.
The text was updated successfully, but these errors were encountered:
I'm happy look at how much work this would take to get that type of query to work however I'm quite new to F#, would you be able to provide me with a sample app that illustrates the problem?
One thing that would be really nice would be to have support for F# option types.
e.g.
This results in a syntax error when emitting the N1QL, which tbh was expected, but as F# does not use
null
or nullable types but rather Option types, this would be a nice addition.Half of it already works, you can query for
person.Name = None
and I guessNone
somehow gets translated to null somewhere.The text was updated successfully, but these errors were encountered: