-
|
can you please explain, how to add objects to list (add function)? |
Beta Was this translation helpful? Give feedback.
Answered by
msiemens
May 6, 2023
Replies: 1 comment
-
|
Hey @astrofox09, I assume you ask this in context of the db.insert({'foo': [{'name': 'bar'}]})
db.update(lambda doc: doc['foo'].append({'name': 'baz'}))Does this help you? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @astrofox09, I assume you ask this in context of the
db.update()method? If yes, it'd go like this:Does this help you?