-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Description
Several tests, like AdHocJsonQuerySqlServerJsonTypeTest.Contains_on_nested_collection_with_init_only_navigation
and ComplexJsonCollectionSqlServerTest.Count
are failing with
JSON data type cannot be used in OpenJson function.
SELECT [r].[Id], [r].[Name], [r].[OptionalRelated], [r].[RelatedCollection], [r].[RequiredRelated]
FROM [RootEntity] AS [r]
WHERE (
SELECT COUNT(*)
FROM OPENJSON([r].[RelatedCollection], '$') AS [r0]) = 2