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 74c23f4 commit fede6a8Copy full SHA for fede6a8
src/Ydb.Sdk/src/Ado/YdbParameter.cs
@@ -174,8 +174,6 @@ string valueString when DbType is DbType.String or DbType.AnsiString or DbType.A
174
MemoryStream memoryStream when DbType is DbType.Binary or DbType.Object => YdbValue.MakeString(
175
memoryStream.ToArray()),
176
TimeSpan timeSpan when DbType is DbType.Object => YdbValue.MakeInterval(timeSpan),
177
- JsonElement jsonElement => YdbValue.MakeJson(jsonElement.ToString()),
178
- JsonDocument jsonDocument => YdbValue.MakeJson(jsonDocument.RootElement.ToString()),
179
_ when DbType is DbType.VarNumeric or DbType.Xml or DbType.Time =>
180
throw new YdbException($"Ydb don't supported this DbType: {DbType}"),
181
_ => ThrowInvalidOperation()
0 commit comments