{"action":"created","issue":{"url":"https://api.github.com/repos/Lytol/Mongo.jl/issues/30","labels_url":"https://api.github.com/repos/Lytol/Mongo.jl/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/Lytol/Mongo.jl/issues/30/comments","events_url":"https://api.github.com/repos/Lytol/Mongo.jl/issues/30/events","html_url":"https://github.com/Lytol/Mongo.jl/issues/30","id":104542183,"number":30,"title":"Getting Started Error","user":{"login":"marcstein","id":804069,"avatar_url":"https://avatars.githubusercontent.com/u/804069?v=3","gravatar_id":"","url":"https://api.github.com/users/marcstein","html_url":"https://github.com/marcstein","followers_url":"https://api.github.com/users/marcstein/followers","following_url":"https://api.github.com/users/marcstein/following{/other_user}","gists_url":"https://api.github.com/users/marcstein/gists{/gist_id}","starred_url":"https://api.github.com/users/marcstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcstein/subscriptions","organizations_url":"https://api.github.com/users/marcstein/orgs","repos_url":"https://api.github.com/users/marcstein/repos","events_url":"https://api.github.com/users/marcstein/events{/privacy}","received_events_url":"https://api.github.com/users/marcstein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-02T18:18:44Z","updated_at":"2015-09-26T17:25:30Z","closed_at":null,"body":"When I attempt to run \r\n\r\nrequire(\"Mongo.jl\")\r\nusing Mongo\r\nclient = MongoClient()   # Defaults to MongoClient(\"localhost\", 27017)\r\ninsert(client, \"test.people\", { \"name\" => \"Brian\", \"age\" => 30, \"hobbies\" => {\"surfing\", \"coding\", \"video games\"}})\r\n\r\nI get the following error\r\n\r\nERROR: `insert` has no method matching insert(::MongoClient, ::ASCIIString, ::Dict{Any,Any})\r\n\r\nclient has been initialized.\r\n\r\nI've tried this under v3 and v4. What am I doing wrong?\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/Lytol/Mongo.jl/issues/comments/143471777","html_url":"https://github.com/Lytol/Mongo.jl/issues/30#issuecomment-143471777","issue_url":"https://api.github.com/repos/Lytol/Mongo.jl/issues/30","id":143471777,"user":{"login":"szalmaf","id":12144802,"avatar_url":"https://avatars.githubusercontent.com/u/12144802?v=3","gravatar_id":"","url":"https://api.github.com/users/szalmaf","html_url":"https://github.com/szalmaf","followers_url":"https://api.github.com/users/szalmaf/followers","following_url":"https://api.github.com/users/szalmaf/following{/other_user}","gists_url":"https://api.github.com/users/szalmaf/gists{/gist_id}","starred_url":"https://api.github.com/users/szalmaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szalmaf/subscriptions","organizations_url":"https://api.github.com/users/szalmaf/orgs","repos_url":"https://api.github.com/users/szalmaf/repos","events_url":"https://api.github.com/users/szalmaf/events{/privacy}","received_events_url":"https://api.github.com/users/szalmaf/received_events","type":"User","site_admin":false},"created_at":"2015-09-26T17:25:30Z","updated_at":"2015-09-26T17:25:30Z","body":"Probably it is a late answer, but did you try something like:\r\n\r\n    using Mongo\r\n    client = MongoClient() # Defaults to MongoClient(\"localhost\", 27017)\r\n    colln = MongoCollection(client, \"test\", \"people\")\r\n    insert(colln, { \"name\" => \"Brian\", \"age\" => 30, \"hobbies\" => {\"surfing\", \"coding\", \"video games\"}})"}}