erpnext-api-client-0.1.0.1: Generic API client library for ERPNext
Safe HaskellSafe-Inferred
LanguageGHC2021

ERPNext.Client.QueryStringParams

Synopsis

Documentation

data QueryStringParam Source #

Constructors

Debug Bool

If True, makes API returning query analysis info instead of data

AsDict Bool

If False, makes API returning the data records as mixed-type arrays which cannot be parsed by this library (default: True)

LimitStart Int

Page offset (starts at 0)

LimitPageLength Int

Page size

Asc Text

Ascending order by given field

Desc Text

Descending order by given field

Fields [Text]

Select fields

AndFilter [Filter]

Filter terms combined with logical AND

OrFilter [Filter]

Filter terms combined with logical OR

renderQueryStringParams :: [QueryStringParam] -> Text Source #

Render the query string for the URL.