1.0.1 • Published 5 years ago

feathers-query-logic v1.0.1

Weekly downloads
10
License
MIT
Repository
github
Last release
5 years ago

feathers-query-logic

Build Status

FeathersJS configuration for can-query-logic

Usage

Install:

npm i feathers-query-logic

Import this and add to your connections/models:

import feathersQueryLogic from "feathers-query-logic";
import {realtimeRestModel, QueryLogic, DefineMap} from "can";

const Type = DefineMap.extend( ... )


realtimeRestModel({
  Map: Type,
	queryLogic: new QueryLogic(Type, feathersQueryLogic)
})