How to use the @feathersjs/adapter-commons/lib/filter-query function in @feathersjs/adapter-commons

To help you get started, we’ve selected a few @feathersjs/adapter-commons examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github humaans / figbird / lib / helpers.js View on Github external
export function matcher(query) {
  const { query: filteredQuery } = filterQuery(query)
  const sifter = sift(filteredQuery)
  return item => sifter(item)
}

@feathersjs/adapter-commons

Shared database adapter utility functions

MIT
Latest version published 2 months ago

Package Health Score

92 / 100
Full package analysis