Microsoft.Azure.Documents.OData.Sql
2.0.2
dotnet add package Microsoft.Azure.Documents.OData.Sql --version 2.0.2
NuGet\Install-Package Microsoft.Azure.Documents.OData.Sql -Version 2.0.2
<PackageReference Include="Microsoft.Azure.Documents.OData.Sql" Version="2.0.2" />
paket add Microsoft.Azure.Documents.OData.Sql --version 2.0.2
#r "nuget: Microsoft.Azure.Documents.OData.Sql, 2.0.2"
// Install Microsoft.Azure.Documents.OData.Sql as a Cake Addin #addin nuget:?package=Microsoft.Azure.Documents.OData.Sql&version=2.0.2 // Install Microsoft.Azure.Documents.OData.Sql as a Cake Tool #tool nuget:?package=Microsoft.Azure.Documents.OData.Sql&version=2.0.2
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)
length(field) => LENGTH(c.field)
indexof(field,'value') => INDEX_OF(c.field,'value')
substring(field,idx1,idx2) => SUBSTRING(c.field,idx1,idx2)
trim(field) => LTRIM(RTRIM(c.englishName))
concat(field,'value') => CONCAT(c.englishName,'value')
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.2 Added support for functions: length(), indexof(), substring(), trim(), concat()
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