We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I propose to add the following to the end of the https://github.com/DarkWanderer/ClickHouse.Client/wiki/SQL-Parameters page:
---- start of the change
You need to pass parameters as Dictionary<string, object>.
For example, the following:
connection.QueryAsync<string>("select {p1:Int32}", new { p1 = 42 });
will not work. You need do it this way:
connection.QueryAsync<string>("select {p1:Int32}", new Dictionary<string, object> { { "p1", 42 } });
---- end of the change
The text was updated successfully, but these errors were encountered:
and one more change - replace the hyperlink https://clickhouse.tech/docs/ru/interfaces/cli/ with https://clickhouse.tech/docs/en/interfaces/cli/#cli-queries-with-parameters
Sorry, something went wrong.
Thanks for suggestions - added first note into "ORM" section and edited the URL.
No branches or pull requests
I propose to add the following to the end of the https://github.com/DarkWanderer/ClickHouse.Client/wiki/SQL-Parameters page:
---- start of the change
For Dapper
You need to pass parameters as Dictionary<string, object>.
For example, the following:
will not work. You need do it this way:
---- end of the change
The text was updated successfully, but these errors were encountered: