Skip to main content

Class: QueryBuilderService

Hierarchy

  • "medusa-interfaces"

    QueryBuilderService

Constructors

constructor

new QueryBuilderService()

Inherited from

BaseService.constructor

Methods

buildFilterQuery

buildFilterQuery(filters): undefined | {}

Parameters

NameType
filtersany

Returns

undefined | {}

Defined in

services/query-builder.js:25


buildQuery

buildQuery(params, properties): Object

Parameters

NameType
paramsany
propertiesany

Returns

Object

Defined in

services/query-builder.js:5


buildTextSearchQuery

buildTextSearchQuery(search, searchProperties): undefined | { $or: any = searchQuery }

Parameters

NameType
searchany
searchPropertiesany

Returns

undefined | { $or: any = searchQuery }

Defined in

services/query-builder.js:39