CollectionAttribute¶
-
class
polyglotdb.query.annotations.attributes.base.
CollectionAttribute
(node, label)[source]¶ Methods
__init__
(node, label)Initialize self. aliased_for_cypher
()creates cypher string to use in db aliased_for_output
()creates cypher string for output coerce_value
(value)column_name
(label)sets a column name to label for_column
()for_cypher
()for_filter
()for_json
()for_return
()in_
(other)Checks if the parameter other has a ‘cypher’ element executes the query if it does and appends the relevant results or appends parameter other not_in_
(other)Checks if the parameter other has a ‘cypher’ element executes the query if it does and appends the relevant results or appends parameter other regex
(pattern)Returns a clause for filtering based on regular expressions. value_type
()-
cache_alias
¶ Removes ‘`’ from annotation, concatenates annotation alias and label
-
with_alias
¶ returns annotation path_alias
-
with_aliases
¶ Returns annotation withs list
-