ADCCure.Azure.Documents.OData.Sql NuGet Package

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:
Items/any(a: a/field op 'value') => SELECT value c FROM c JOIN a IN c.Items WHERE a.field op 'value'
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').




Got any ADCCure.Azure.Documents.OData.Sql Question?





Info

Version: 2.1.12
Author(s): Ziyou Zheng, Egbert Nierop, ntanaka
Last Update: Tuesday, October 24, 2017
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/egbertn/azure-documentdb-odata-sql
NuGet Url: https://www.nuget.org/packages/ADCCure.Azure.Documents.OData.Sql


Install
Install-Package ADCCure.Azure.Documents.OData.Sql
dotnet add package ADCCure.Azure.Documents.OData.Sql
paket add ADCCure.Azure.Documents.OData.Sql
ADCCure.Azure.Documents.OData.Sql Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

.8

avg-downloads-per-day

5

days-since-last-release

2373