Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.59 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.59 KB

Q-Rest Reference

Project Status

Build Status

Package Stable Latest
QRest.Core Nuget NuGet Pre Release
QRest.AspNetCore NuGet NuGet Pre Release
QRest.Semantics.OData NuGet NuGet Pre Release

HowTo

Install

dotnet add package QRest.AspNetCore

Use

[HttpGet("{query?}")]
public ActionResult Get(Query query)
{
      var data = collection.AsQueryable();
      var result = query.Apply(data);   
      return Ok(result);
} 

Execute

GET http://localhost:5000/api/data/-where(:Text-eq(`123`))-take(10)

See more on supported method in wiki