IsIn filter doesnt support optional values
See original GitHub issueHi there,
we have some optional table elements and we want to use the IsIn
filter on them.
In our query is concerncostcentrals.Zuordnung
a optional string parameter
let branches = [Some "EZ"; Some "BGA"; Some "KW"]
let! data =
select {
for concerncostcentrals in enmsSichtKstKonzern do
where ( isIn (concerncostcentrals.Zuordnung) branches )
}
|> conn.SelectAsync<dbo.EnmsSicht_KstKonzern>
This query the will fail with an
No mapping exists from object type Microsoft.FSharp.Core.FSharpOption
1[[System.String, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] to a known managed provider native type.` exception
Any idea how we can get that working?
Thanks in advance!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Pandas filtering (~isin) is not working
I think there is problem you have mixed types - numeric with strings. omzet_activity_paid_count_january_devices.
Read more >Filter a Pandas DataFrame by a Partial String or Pattern in ...
Here, we want to filter by the contents of a particular column. We will use the Series. isin([list_of_values] ) function from Pandas which ......
Read more >Spark isin() & IS NOT IN Operator Example
In Spark use isin() function of Column class to check if a column value of DataFrame exists/contains in a list of string values....
Read more >pandas.DataFrame.filter — pandas 2.0.3 documentation
Subset the dataframe rows or columns according to the specified index labels. Note that this routine does not filter a dataframe on its...
Read more >8 Ways to Filter Pandas DataFrames
A common operation in data analysis is to filter values based on a condition or multiple conditions. · We start by importing the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Released as
v2.4.1
Merci guys! You are amazing!