Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] #70

Closed
dodo007 opened this issue May 8, 2020 · 1 comment
Closed

[REQUEST] #70

dodo007 opened this issue May 8, 2020 · 1 comment

Comments

@dodo007
Copy link

dodo007 commented May 8, 2020

Modifying nested objects trough the code.

I do not understand how to modify repeatable components inside a model. There is no documentation for that and Mongoose does not work as expected when used with

const result = strapi.query('statscustomer').model.find({ id:"5eb5b14972385865715099dc" });
result.toObject();

error TypeError: result.toObject is not a function

So I can't continue the project. It would be nice if someone could help me with this.

Screenshot 2020-05-08 at 16 01 18

Screenshot 2020-05-08 at 15 59 31

These two images show the structure I'm trying to edit. So if anyone could give me a hint that would be life-saving

@Mcastres
Copy link
Collaborator

Hello @dodo007 I'm closing this issue as it is not a correct issue for this repository. If you'd like to get help on this, please join our slack https://slack.strapi.io? You could get some answers in the "#help" channel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants