db and server now make it possible to use fromNamed and from (with multiple ledger aliases) in order to federate queries across multiple dbs at once. Internally, this uses the dataset() API in db to virtually merge the dbs in question.
Nexus QS needs to be updated to similarly enable this behavior, so that a user can issue queries like
This also needs to leverage t parameters in ledger aliases to specify the ledger at a particular moment in time. See Brian's PR here: https://github.com/fluree/server/pull/56
Implementation Details
Consider that the dataset() API has been written to allow dbs to be merged for querying without both of those dbs being registered on the same conn. This is critical for Nexus's use of two different conn objects for IPFS and non-IPFS datasets. This ticket should be tested against the scenario where an IPFS db and an fs db are queried against using dataset()
Description
db
andserver
now make it possible to usefromNamed
andfrom
(with multiple ledger aliases) in order to federate queries across multiple dbs at once. Internally, this uses thedataset()
API indb
to virtually merge the dbs in question.Nexus QS needs to be updated to similarly enable this behavior, so that a user can issue queries like
This also needs to leverage
t
parameters in ledger aliases to specify the ledger at a particular moment in time. See Brian's PR here: https://github.com/fluree/server/pull/56Implementation Details
Consider that the
dataset()
API has been written to allowdb
s to be merged for querying without both of thosedb
s being registered on the sameconn
. This is critical for Nexus's use of two differentconn
objects for IPFS and non-IPFS datasets. This ticket should be tested against the scenario where an IPFSdb
and an fsdb
are queried against usingdataset()