You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently one needs to use ALTER TYPE or ALTER PROPERTY to set a custom metadata key-value pair, ie:
CREATE DOCUMENT TYPE doc;
ALTER TYPE doc CUSTOM coolness = 1;
CREATE PROPERTY doc.num INTEGER (readonly true);
ALTER PROPERTY doc.num CUSTOM oflines = 2;
It would be more convenient to directly set metadata in CREATE x TYPE or CREATE PROPERTY. As for ALTER, the syntax introducing the metadata pairs can also be introduced with the CUSTOM keyword, like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently one needs to use
ALTER TYPE
orALTER PROPERTY
to set a custom metadata key-value pair, ie:It would be more convenient to directly set metadata in
CREATE x TYPE
orCREATE PROPERTY
. As forALTER
, the syntax introducing the metadata pairs can also be introduced with theCUSTOM
keyword, like:Furthermore, multiple custom key-value pairs should be passable separated by commas, like for attributes:
I will look into the SQL definition if this is not too hard and report in this thread, which can also be moved to an issue.
Beta Was this translation helpful? Give feedback.
All reactions