RAQL.NET 1.0.1

dotnet add package RAQL.NET --version 1.0.1
                    
NuGet\Install-Package RAQL.NET -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RAQL.NET" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RAQL.NET" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="RAQL.NET" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RAQL.NET --version 1.0.1
                    
#r "nuget: RAQL.NET, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RAQL.NET@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RAQL.NET&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=RAQL.NET&version=1.0.1
                    
Install as a Cake Tool

RAQL

Rest Api Query Language

RAQL is a SQL-Like Query Language for Rest Api dedicated to querying Rest Api Endpoints that outputs List of Results.

DOCUMENTATION https://lucafabbri.github.io/raql/

Yet another query language

WHy RAQL when you have GraphQL? Because Graph QL not only queries data, but also requires you to specificy which fields you want to get. This requires a big payload using POST even if you want to filter one field. Secondly GraphQL approach it is perfect for querying different sources at once, but quite often you just need to provide your Rest Api consumers the ability to filter data and get the usual Data Transfer Object.

Server side implementations

name version supports language repo
RAQL.NET 1.0.0 - Asp.Net - Linq - EntityFramework C# https://github.com/lucafabbri/raql-dotnet
RAQL.PHP 1.0.0 - Laravel - Eloquent PHP https://github.com/lucafabbri/raql-php
RAQL.JS 1.0.0 - Node - Express.js - Knex.js Javascript https://github.com/lucafabbri/raql-js

Quick start

Specification

RAQL base unit is called Operation, which is a simple structure that requires a field, an operator and a value.

x > 3
name like 'Luca'
field != true

Operations can be link together with classic QL where operator AND, OR, two operations linked in this way is called Clause.

x > 3 and y = 5
name like 'Luca' and age > 20
field != true and branch = 'master'

Clauses can be wrapped with optional parentesis

(x > 3 and y = 5)
(name like 'Luca' and age > 20)
(field != true and branch = 'master')

Clauses can be linked with QL where operator as well and uses parentesis is possible to nest properly the query

(x > 3 and y = 5) or x = 100
(name like 'Luca' and age > 20) or (name = null)
field != true and (branch = 'master' or branch = 'dev')
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.1 189 12/6/2024
1.0.0 8,105 11/28/2022