feathers-query-logic

FeathersJS configuration for can-query-logic

Usage no npm install needed!

<script type="module">
  import feathersQueryLogic from 'https://cdn.skypack.dev/feathers-query-logic';
</script>

README

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)
})