FuelLabs/fuel-indexer

Implement `.find_many()` on `Entity`

ra0x3 opened this issue · 0 comments

ra0x3 commented
  • With the completion of #1437 we now have .find() usage
  • The next thing we want is the implementation of .find_many()
  • .find_many() would work just like .find() except it instead of returning Option<Entity> it would return Option<Vec<Entity>>
  • We would have to establish some constraints/parameters around the size of the result set of .find_many()
    • Since we allocate space in the runtime for the result of .find() (and .get()) we would need to set some max size that can be allocated for .find_many() results
      • Maybe this is configurable?