HarperFast / HarperFast/rql

how do i query against nested properties?

Open
#39 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
276
Forks
48
PR merge metrics
No merged PRs in 30d

Description

my first thought was to try a dot-separated path

``` js
q = new Query().eq('user.id', id);
```

but the only way i've found to work is to use an array of path segments

``` js
q = new Query().eq(['user', 'id'], id);
```

should the dot-separated path work or is the array the right way?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.