Taking a Query Snapshot of a Firefly Semantics Slice Entity Store

Ole Ersoy
Apr 30, 2022
Image by moonzigg from Pixabay

Scenario

We have a Firefly Semantics Slice Entity Store (EStore) that we are using to also store queries that we are executing against its contents.

We wish to take a snapshot of the query.

Approach

Simply use the getter for the query attached to the EStore .

searchStore.query = 'angular';const query = searchStore.query;

Demo

--

--