---
title: "Comment by Nehal Singhal on \"How to Add Records to the PicoLisp Database\" | Hashnode"
description: "Quoting from blog: (collect &#39;sym &#39;cls (...) ) Returns a list of all database objects of class cls, where the values for the sym arguments correspond to"
url: "https://hashnode.com/posts/how-to-add-records-to-the-picolisp-database/61752ff40c5e175a1c617577/comment/63e22db14f759bc35e441e1d"
---

[Discussion](https://hashnode.com/posts/how-to-add-records-to-the-picolisp-database/61752ff40c5e175a1c617577)

Comment [How to Add Records to the PicoLisp Database](https://hashnode.com/posts/how-to-add-records-to-the-picolisp-database/61752ff40c5e175a1c617577)

[Nehal Singhal](https://hashnode.com/@nehal5)

[Feb 7, 2023](https://hashnode.com/posts/how-to-add-records-to-the-picolisp-database/61752ff40c5e175a1c617577/comment/63e22db14f759bc35e441e1d)

Quoting from blog:

(collect 'sym 'cls (...) )

Returns a list of all database objects of class cls, where the values for the sym arguments correspond to the any arguments (...)

Sym arguments refer to property list of external symbols aka databases objects?

[Mia Temma](https://hashnode.com/@miatemma)

[Feb 26, 2023](https://hashnode.com/posts/how-to-add-records-to-the-picolisp-database/61752ff40c5e175a1c617577/comment/63e22db14f759bc35e441e1d#reply-63fb873fa13f5e02f6798306)

Hi [Nehal Singhal](https://hashnode.com/@nehal5), sorry for the late reply! You are right, the sym argument refers to the property list of the database object.

Actually my definition in the blog was a bit wrong, I changed it! thanks a lot for your comment. This is the correct one:

"(collect 'sym 'cls 'any) Returns a list of all database objects of class cls, where the values for the sym property are equal to the any argument."
