Microsoft.Azure.Documents.OData.Sql
2.0.1
See the version list below for details.
dotnet add package Microsoft.Azure.Documents.OData.Sql --version 2.0.1
NuGet\Install-Package Microsoft.Azure.Documents.OData.Sql -Version 2.0.1
<PackageReference Include="Microsoft.Azure.Documents.OData.Sql" Version="2.0.1" />
paket add Microsoft.Azure.Documents.OData.Sql --version 2.0.1
#r "nuget: Microsoft.Azure.Documents.OData.Sql, 2.0.1"
// Install Microsoft.Azure.Documents.OData.Sql as a Cake Addin #addin nuget:?package=Microsoft.Azure.Documents.OData.Sql&version=2.0.1 // Install Microsoft.Azure.Documents.OData.Sql as a Cake Tool #tool nuget:?package=Microsoft.Azure.Documents.OData.Sql&version=2.0.1
Examples:
https://github.com/z26zheng/azure-documentdb-odata-sql/blob/master/azure-documentdb-odata-sql-samples/ODataToSqlSamples.cs
Currently it supports below query mappings:
primitive:
field => c.field
parent/child => c.parent.child
Namespace.EnumType'enumVal' => 'enumVal'
queries:
$select => SELECT
$filter => WHERE
$top => TOP
$orderby => ORDER BY
functions:
contains(field, 'value') => CONTAINS(c.field,'value')
startswith(field, 'value') => STARTSWITH(c.field, 'value')
endswith(field, 'value') => ENDSWITH(c.field, 'value')
toupper(field) => UPPER(c.field)
tolower(field) => LOWER(c.field)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.OData (>= 5.9.0 && < 6.0.0)
- Microsoft.Azure.DocumentDB (>= 1.9.5)
- Microsoft.Data.OData (>= 5.6.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Microsoft.Azure.Documents.OData.Sql:
Repository | Stars |
---|---|
Azure/azure-stream-analytics
Azure Stream Analytics
|
2.0.1 Added support for functions: contains(), startswith(), endswith(), toupper() and tolower()
2.0.0 Breaking changes: Simplified usage with newly introuduced class ODataToSqlTranslator
1.0.0 Initial release