feathers-query-logic
v1.0.1
Published
FeathersJS configuration for can-query-logic
Downloads
7
Maintainers
Readme
feathers-query-logic
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)
})