-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
Description
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Currently the host store interface only supports interacting with one entity at a time:
/**
* Host store interface.
*/
export declare namespace store {
function get(entity: string, id: string): Entity | null
function set(entity: string, id: string, data: Entity): void
function remove(entity: string, id: string): void
}
What is the expected behavior?
The store should expose functions similar to the GraphQL interface like:
let entities = Entity.findAll(where: { blockHash: "0xdeadbeef" });
Or even expose the SQL interface?
chriswessels and Data-Nexus