Hi,
I am trying to use the view expression (direct binding to component) from SimulationAids to filter a dataset based off a String value that is a wildcard, I am having some issues since I am not sure of the pseudo-SQL syntax.
Just for example (where the column name is Station_Name):
view("SELECT * WHERE Station_Name== '%North%'", {[default]dataset})
This doesn't work, but basically unsure of the syntax to search if the column has that substring ('North') and return the rows in the dataset that have it. the % operators don't work.
Any help is appreciated, I want to see if this would be simple using the module, otherwise I'll just use python and SQL and not the SimulationAids module.
When in doubt how view() is handling your code and data, set its logger to DEBUG, or wrap in the debugMe() expression function. This will show you the python whenever it re-compiles, along with execution times. Looking at the generated python will also show other variables you may use in your expressions.