Is there an automatic CSharp -> DuckDB type mapping for parametrized queries? #284
Answered
by
Giorgi
soerenwolfers
asked this question in
Q&A
-
|
If I run command.CommandText = "FROM '/myfile.parquet' WHERE Time == $time;";
command.Parameters.Add(new DuckDBParameter("time", new DateTime(2020, 1, 6, 16, 55, 0)));through duckdb.NET my query fails because the Can I do something smarter than string-formatting the |
Beta Was this translation helpful? Give feedback.
Answered by
Giorgi
Aug 30, 2025
Replies: 2 comments 2 replies
-
|
There is not much you can do as a user of the library but if you are willing to send a PR I can explain what needs to be changed to make it work. |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
@soerenwolfers This will be implemented in the next release in September. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
soerenwolfers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@soerenwolfers This will be implemented in the next release in September.