---
title: "Discussion on \"How to Add Records to the PicoLisp Database\" | Hashnode"
description: "Discussion on \"How to Add Records to the PicoLisp Database\". In the last post, we have created a simple entity/relation-model using the PicoLisp E/R framework. You can find the file with the definitions here.\nNow let's create a new database and fill it with some values.\n\nCreate a new database\nFirst of all, let..."
url: "https://hashnode.com/posts/how-to-add-records-to-the-picolisp-database/61752ff40c5e175a1c617577"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Add Records to the PicoLisp Database](https://picolisp-explored.com/how-to-add-records-to-the-picolisp-database?utm_source=hashnode&utm_medium=feed)

In the last post, we have created a simple entity/relation-model using the PicoLisp E/R framework. You can find the file with the definitions here. Now let's create a new database and fill it with some values. Create a new database First of all, let...

Oct 24, 2021 · 5 min read · picolisp-explored.com  
Updated Jul 15, 2023  
Read the article

-   [#databases](https://hashnode.com/tag/databases)
-   [#graph-database](https://hashnode.com/tag/graph-database)
-   [#nosql](https://hashnode.com/tag/nosql)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)

## Written by

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

@miatemma · Berlin, Germany

  
[View profile](https://hashnode.com/@miatemma)

## Responses 2

Markdown supported · ⌘↵ to post

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

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

: (request '(+Man) 'name "Adam") -> {2}

Will rather be - : (request '+Man 'name "Adam") -> {2}

Please try at your end. Same with code block: : (request '(+Woman) 'name "Eve") -> {6}

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

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

Hi, this should not work, because "request" expects a LIST as first argument...

[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."
