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

insert data #9

Closed
Bloodevil opened this issue Oct 17, 2014 · 1 comment
Closed

insert data #9

Bloodevil opened this issue Oct 17, 2014 · 1 comment
Assignees

Comments

@Bloodevil
Copy link
Owner

%insert db-name collection-name {data}

  • mongo command : db.collection.insert({data})

%%insert db-name collection-name
{multi-line data}

  • mongo command : db.collection.insert({data})

data format

  • json : { }
  • json list : [{}, {}, ...]
@Bloodevil Bloodevil self-assigned this Oct 17, 2014
@Bloodevil
Copy link
Owner Author

change %insert dbname.collection-name {data}

Bloodevil pushed a commit that referenced this issue Oct 17, 2014
 add insert data command.
 %insert db.collection {data} or [{data}
 or
 %%insert db.collection
 {data} or [{data}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant