InfluxDB.Net icon indicating copy to clipboard operation
InfluxDB.Net copied to clipboard

Support parameterized queries

Open joakimhew opened this issue 7 years ago • 2 comments

It feels really weird to have to use custom query builders instead of being able to generate queries with something like:

_dbClient.QueryAsync("databaseName", "SELECT * FROM temp WHERE cpuId = @CpuId",
   new
   {
       CpuId = cpuId
   });

joakimhew avatar May 04 '17 14:05 joakimhew

@joakimhew sounds good, contribution is very welcome!

bugthesystem avatar May 16 '17 15:05 bugthesystem

@ziyasal Okay, I have a working solution that we are using within our team. I'll get some time to polish it and do a PR soon 👍

joakimhew avatar May 23 '17 08:05 joakimhew