1.0.0-beta.18 • Published 5 months ago
linql.client-fetch v1.0.0-beta.18
Linql.Client-Fetch
A linql client implementation that uses native fetch.
Getting Started
Installation
npm i linql.client-fetch@^1.0.0-beta.1
Create a context, and then start using.
import { FetchLinqlContext } from "linql.client-fetch";
import { LinqlSearch } from "linql.client";
const context = new FetchLinqlContext(LinqlSearch, "https://localhost:7113", { this: this });
const states = this.context.Set<State>(State);
const firstState = await states.FirstOrDefaultAsync();