Replies: 1 comment
-
|
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following code:
when I
console.log(doc)
, it gives prints[Function (anonymous)]
on the terminal, which I think is thenext
function,and if I
console.log(this)
it prints the query.How can I read the doc to run for example the
.save()
method?I want to my code to look as follows:
when I run
.save()
as shown above it says the.save() is not a function
.What's the problem?
Beta Was this translation helpful? Give feedback.
All reactions