19.0.0 • Published 12 months ago

96jd-odata-query-utils v19.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

96jd-odata-query-utils

Installation

NPM

npm install 96jd-odata-query-utils

YARN

yarn add 96jd-odata-query-utils

PNPM

pnpm add 96jd-odata-query-utils

BUN

bun add 96jd-odata-query-utils

Getting started

import { ODataQuery, buildODataQueryUrl } from "96jd-odata-query-utils";

const oDataQuery: ODataQuery = {
	apiUrl: `${location.origin}/odata/Users`,
	count: true,
	expand: "UserFollowRecipients",
	filter: "UserFollowRecipients/any(uf:uf/SenderId eq 1)",
	select: "id,about,birthday,city,coverPhoto,email,firstName,lastName",
	top: "30",
	skip: "0"
};

console.log(buildODataQueryUrl(oDataQuery));
19.0.0

12 months ago

18.0.4

1 year ago

18.0.3

1 year ago

18.0.2

1 year ago

18.0.1

2 years ago

18.0.0

2 years ago

1.0.0

2 years ago