Skip to content

ormjs: findByQuery feature #5

@OKNoah

Description

@OKNoah

Currently it looks like the app just has one way to find things, which is with the byExample method. We could add a findByQuery method to allow passing a string query.

City.findByQuery(`
  for city in outbound 'city/VANCOUVER' trips
    return distinct city
`)

Any thoughts on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions