influxdb-client-csharp
influxdb-client-csharp copied to clipboard
System.NotSupportedException: 'The expression 'Contains', type: 'System.Linq.Expressions.MethodCallExpression' is not supported.'
I have this specific error with linq: "System.NotSupportedException: 'The expression '[s].Node.Contains("0")', type: 'System.Linq.Expressions.MethodCallExpression' is not supported.'"
this is the code:
var query = (from s in InfluxDBQueryable<Record>.Queryable(BucketName,
Organization,
queryApiTest,
memberResolver)
where s.Measurament == _MEASUREMENT_LAST_DATA
&& s.Node.Contains(0.ToString())
select s).ToList();