We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fb1ea2 commit b17a989Copy full SHA for b17a989
Dapper/FeatureSupport.cs
@@ -10,7 +10,8 @@ internal class FeatureSupport
10
{
11
private static readonly FeatureSupport
12
Default = new FeatureSupport(false),
13
- Postgres = new FeatureSupport(true);
+ Postgres = new FeatureSupport(true),
14
+ ClickHouse = new FeatureSupport(true);
15
16
/// <summary>
17
/// Gets the feature set based on the passed connection
@@ -20,6 +21,7 @@ public static FeatureSupport Get(IDbConnection connection)
20
21
22
string name = connection?.GetType().Name;
23
if (string.Equals(name, "npgsqlconnection", StringComparison.OrdinalIgnoreCase)) return Postgres;
24
+ if (string.Equals(name, "clickhouseconnection", StringComparison.OrdinalIgnoreCase)) return ClickHouse;
25
return Default;
26
}
27
0 commit comments