Transform the dataviwe query in dataviewjs code

I have this dataviwe query:

TABLE WITHOUT ID
	file.link AS "Страница",
	ID,
	length(file.frontmatter["craft-in"]) AS craft-in,
	length(file.frontmatter["asingredient"]) AS use-in
FROM !"templates"
WHERE type = "block" OR type = "item"
SORT use-in desc, craft-in desc

How this looks in dataviewjs variant?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.