rocicorp / repc

The canonical Replicache client, implemented in Rust.
Other
31 stars 7 forks source link

Indexing: need to support arrays as well as single values #230

Closed aboodman closed 3 years ago

aboodman commented 3 years ago

Not sure how I forgot about this. Our customer needs to index a single value by multiple different index keys. This means supporting the JS array type here: https://github.com/rocicorp/repc/blob/master/src/db/index.rs#L165

aboodman commented 3 years ago

I have a draft PR of this here - https://github.com/rocicorp/repc/pull/229/commits/8742ee9fbf1f820919950ef8e45f9627c585e18c. Not going to land this, @phritz you can take it as a starting point or not.