Provide query "is this Atom being held in this DB?" #18
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
The
(cog-node TYPE NAME)
function allows a user to ask "does a node with the givenTYPE
andNAME
exist in the AtomSpace?", without actually creating that Node. A similar function is needed for theRocksStorageNode
: to ask if an Atom is being held, without actually creating it.This needs modifications the generic StorageNode API, so that this question can be asked w/ the generic API, which then trickles down to the specific StorageNode.
In the same vein, other useful functions would be modeled on
(cog-incoming-size ATOM)
and(cog-incoming-size-by-type ATOM TYPE)
to report on the incoming set of anATOM
held in storage, without actually fetching that incoming set.The text was updated successfully, but these errors were encountered: