Does ArangoDB "know" what attributes exist in a collection? (shapes data) -
there's recipe how sample documents , determine structure:
https://docs.arangodb.com/cookbook/accessingshapesdata.html
it stated, can't query internal shapes data. examining documents approximate attribute keys used, or entire collection must scanned.
so question is: database store attributes exist somewhere internally? @ least common attributes?
if yes, why isn't possible query data? far more efficient user-defined function outputs same information.
it great if 1 discover schemes "for free":
http://som-research.uoc.edu/tools/jsondiscoverer/#/
whenever attribute used first in collection, arangodb store somewhere internally. means keep track of attributes used in collection. there few issues however:
the attribute names stored globally, nested attribute names stored separately (ex:
user.name
storeduser
,name
). looking @ purely separate attribute name parts, arangodb not know in combinations used in dataattribute names stored whenever attribute name first used in collection. arangodb not keep track of when attribute not used anymore. attribute name still present in list of attributes
under these restrictions, list of attributes made available, not sure how useful be.
Comments
Post a Comment