kuzudb / kuzu

Embeddable property graph database management system built for query speed and scalability. Implements Cypher.
https://kuzudb.com/
MIT License
1.26k stars 89 forks source link

Documentation for size function for lists #3817

Open semihsalihoglu-uw opened 1 month ago

semihsalihoglu-uw commented 1 month ago

Description

I noticed that there is a size() function that we can run on lists as follows:

...
RETURN size(listFoo)

where listFoo is a list. However I cannot find the documentation for it. I went to https://docs.kuzudb.com/cypher/expressions/list-operators/ but it's not listed there. It may be listed somewhere else but let's still mention it somehow in this part of the documentation.

Link

No response

acquamarin commented 1 month ago

I think size is listed in the list_functions section rather than list_operators sections: https://docs.kuzudb.com/cypher/expressions/list-functions/

semihsalihoglu-uw commented 1 month ago

We are not addressing the main problem: We should rethink the structure of functions vs operators. From a user's perspective this distinction is unimportant. I was looking for size and landed on the "list operators" page (though the title of that is also confusingly called "List Functions"), and couldn't find size.

We should either list these on the same page and call the page "List Functions and Operators" or at the very least add links from both to each page so users landing on one of the pages can discover the other.

I'll let @prrao87 make the calls here.