{"action":"created","issue":{"url":"https://api.github.com/repos/istreamdata/orientgo/issues/29","labels_url":"https://api.github.com/repos/istreamdata/orientgo/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/istreamdata/orientgo/issues/29/comments","events_url":"https://api.github.com/repos/istreamdata/orientgo/issues/29/events","html_url":"https://github.com/istreamdata/orientgo/issues/29","id":109547695,"number":29,"title":"Can you insert a struct without using a command?","user":{"login":"josebalius","id":339080,"avatar_url":"https://avatars.githubusercontent.com/u/339080?v=3","gravatar_id":"","url":"https://api.github.com/users/josebalius","html_url":"https://github.com/josebalius","followers_url":"https://api.github.com/users/josebalius/followers","following_url":"https://api.github.com/users/josebalius/following{/other_user}","gists_url":"https://api.github.com/users/josebalius/gists{/gist_id}","starred_url":"https://api.github.com/users/josebalius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josebalius/subscriptions","organizations_url":"https://api.github.com/users/josebalius/orgs","repos_url":"https://api.github.com/users/josebalius/repos","events_url":"https://api.github.com/users/josebalius/events{/privacy}","received_events_url":"https://api.github.com/users/josebalius/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-02T18:35:54Z","updated_at":"2015-10-08T20:18:38Z","closed_at":"2015-10-03T12:52:03Z","body":"I tried playing around with the Document type but could not figure out a way to simply insert a struct without writing an insert statement. \r\n\r\nI realize this is more \"ORM\" but I was wondering if it was currently possible?\r\n\r\nThanks!\r\n\r\nJose"},"comment":{"url":"https://api.github.com/repos/istreamdata/orientgo/issues/comments/146674419","html_url":"https://github.com/istreamdata/orientgo/issues/29#issuecomment-146674419","issue_url":"https://api.github.com/repos/istreamdata/orientgo/issues/29","id":146674419,"user":{"login":"josebalius","id":339080,"avatar_url":"https://avatars.githubusercontent.com/u/339080?v=3","gravatar_id":"","url":"https://api.github.com/users/josebalius","html_url":"https://github.com/josebalius","followers_url":"https://api.github.com/users/josebalius/followers","following_url":"https://api.github.com/users/josebalius/following{/other_user}","gists_url":"https://api.github.com/users/josebalius/gists{/gist_id}","starred_url":"https://api.github.com/users/josebalius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josebalius/subscriptions","organizations_url":"https://api.github.com/users/josebalius/orgs","repos_url":"https://api.github.com/users/josebalius/repos","events_url":"https://api.github.com/users/josebalius/events{/privacy}","received_events_url":"https://api.github.com/users/josebalius/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T20:18:38Z","updated_at":"2015-10-08T20:18:38Z","body":"@dennwc So it looks like it can't convert structs that have consts with iota on them (go enums) :/ What do you recommend I do? Need an example or you know what I mean?"}}