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