8000 Support $search in query syntax · Issue #334 · feathersjs/feathers · GitHub
[go: up one dir, main page]

Skip to content

Support $search in query syntax #334

@daffl

Description

@daffl

I am consolidating all the individual issues and discussions here:

This is a proposed special attribute that allows you to fuzzy match a property. Possibly even multiple properties and/or nested documents.

Suggested syntax:

name: {
  $search: ['alice', 'Alice', 'bo', /$bob/i]
}

Following similar syntax to our other special query filters, this would allow you to filter by a singular value, multiple values (treated like an or) and/or regular expressions directly.

Service Adapter Completion

  • NeDB
  • MongoDB
  • Mongoose
  • Sequelize
  • Knex
  • Waterline
  • RethinkDB
  • Memory
  • Localstorage
  • LevelUp
  • Blob?? (maybe to support fuzzy matching filenames?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0