{"action":"created","issue":{"url":"https://api.github.com/repos/grails/grails-data-mapping/issues/779","repository_url":"https://api.github.com/repos/grails/grails-data-mapping","labels_url":"https://api.github.com/repos/grails/grails-data-mapping/issues/779/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-data-mapping/issues/779/comments","events_url":"https://api.github.com/repos/grails/grails-data-mapping/issues/779/events","html_url":"https://github.com/grails/grails-data-mapping/issues/779","id":174761622,"number":779,"title":"Using MongoDB Driver Directly is not Working like Docs","user":{"login":"caiocmpaes","id":14334253,"avatar_url":"https://avatars.githubusercontent.com/u/14334253?v=3","gravatar_id":"","url":"https://api.github.com/users/caiocmpaes","html_url":"https://github.com/caiocmpaes","followers_url":"https://api.github.com/users/caiocmpaes/followers","following_url":"https://api.github.com/users/caiocmpaes/following{/other_user}","gists_url":"https://api.github.com/users/caiocmpaes/gists{/gist_id}","starred_url":"https://api.github.com/users/caiocmpaes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caiocmpaes/subscriptions","organizations_url":"https://api.github.com/users/caiocmpaes/orgs","repos_url":"https://api.github.com/users/caiocmpaes/repos","events_url":"https://api.github.com/users/caiocmpaes/events{/privacy}","received_events_url":"https://api.github.com/users/caiocmpaes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-02T13:37:24Z","updated_at":"2016-09-09T12:29:22Z","closed_at":null,"body":"## I am having trouble to use low-level API as It is in the Docs.\r\n\r\nThe documentation section [Using MongoDB Driver Directly](http://gorm.grails.org/latest/mongodb/manual/index.html#lowLevelApi) shows the use of the low level API with a direct access to the collection objects. However, I'm getting a \"No Such Property X for class com.mongodb.MongoDatabaseImpl\" error.\r\n\r\n```\r\n// Get a db reference in the old fashion way\r\ndef db = mongo.getDatabase(\"mydb\")\r\n\r\n// Insert a document\r\ndb.languages.insert([name: 'Groovy'])\r\n// A less verbose way to do it\r\ndb.languages.insert(name: 'Ruby')\r\n// Yet another way\r\ndb.languages << [name: 'Python']\r\n```\r\n\r\nI am using the plugin with version 5.0.0.RC1.\r\nIs the documentation outdated (Because you removed Gmongo support)? Or I forgot some configuration?"},"comment":{"url":"https://api.github.com/repos/grails/grails-data-mapping/issues/comments/245899252","html_url":"https://github.com/grails/grails-data-mapping/issues/779#issuecomment-245899252","issue_url":"https://api.github.com/repos/grails/grails-data-mapping/issues/779","id":245899252,"user":{"login":"rkimaoui","id":6640339,"avatar_url":"https://avatars.githubusercontent.com/u/6640339?v=3","gravatar_id":"","url":"https://api.github.com/users/rkimaoui","html_url":"https://github.com/rkimaoui","followers_url":"https://api.github.com/users/rkimaoui/followers","following_url":"https://api.github.com/users/rkimaoui/following{/other_user}","gists_url":"https://api.github.com/users/rkimaoui/gists{/gist_id}","starred_url":"https://api.github.com/users/rkimaoui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkimaoui/subscriptions","organizations_url":"https://api.github.com/users/rkimaoui/orgs","repos_url":"https://api.github.com/users/rkimaoui/repos","events_url":"https://api.github.com/users/rkimaoui/events{/privacy}","received_events_url":"https://api.github.com/users/rkimaoui/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T12:29:22Z","updated_at":"2016-09-09T12:29:22Z","body":"Hello,\r\nWhich Gmongo version do you use ?\r\nI can't make it work with: Grails 3.1.11 and mongodb:5.0.10 and com.gmongo:gmongo:1.5"}}
{"actor":{"display_login":"rkimaoui"}}