feathers-query-logic
1.0.1 • Public • Published 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)
})
Package Sidebar
Install
npm i feathers-query-logic
Weekly Downloads