Closed king-michael closed 5 years ago
sim.keywords returns a List[Keywords instead of a query.
sim.keywords
List[Keywords
When query a sim object, the sim.keywords returned a query. This query could be filtered and executed to become the Keywords. In the most cases this is not needed.
query
Keywords
sim.keywords -> List[Keywords]
sim.keywords_query -> query => query.all() -> List[Keywords]
sim.children
sim.parents
.all()
keywords.filter(...).all()
keywords_query.filter(...).all()
meta_groups
Idea
sim.keywords
returns aList[Keywords
instead of a query.Background
When query a sim object, the
sim.keywords
returned aquery
. Thisquery
could be filtered and executed to become theKeywords
. In the most cases this is not needed.Proposed changes
sim.keywords -> List[Keywords]
sim.keywords_query -> query => query.all() -> List[Keywords]
sim.children
andsim.parents
Todo
.all()
from API functionskeywords.filter(...).all()
tokeywords_query.filter(...).all()
meta_groups