{"action":"created","issue":{"url":"https://api.github.com/repos/astaxie/beego/issues/1524","labels_url":"https://api.github.com/repos/astaxie/beego/issues/1524/labels{/name}","comments_url":"https://api.github.com/repos/astaxie/beego/issues/1524/comments","events_url":"https://api.github.com/repos/astaxie/beego/issues/1524/events","html_url":"https://github.com/astaxie/beego/issues/1524","id":124452715,"number":1524,"title":"Seek for best pratise for orm.NewOrm","user":{"login":"Yuhang","id":1201124,"avatar_url":"https://avatars.githubusercontent.com/u/1201124?v=3","gravatar_id":"","url":"https://api.github.com/users/Yuhang","html_url":"https://github.com/Yuhang","followers_url":"https://api.github.com/users/Yuhang/followers","following_url":"https://api.github.com/users/Yuhang/following{/other_user}","gists_url":"https://api.github.com/users/Yuhang/gists{/gist_id}","starred_url":"https://api.github.com/users/Yuhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yuhang/subscriptions","organizations_url":"https://api.github.com/users/Yuhang/orgs","repos_url":"https://api.github.com/users/Yuhang/repos","events_url":"https://api.github.com/users/Yuhang/events{/privacy}","received_events_url":"https://api.github.com/users/Yuhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-31T09:48:48Z","updated_at":"2016-01-01T04:57:15Z","closed_at":null,"body":"as mentioned, can I do o := orm.NewOrm() every time when I want to exec any sql?\r\n\r\nif so, any performance problems introduced?\r\n\r\nthanks!"},"comment":{"url":"https://api.github.com/repos/astaxie/beego/issues/comments/168282606","html_url":"https://github.com/astaxie/beego/issues/1524#issuecomment-168282606","issue_url":"https://api.github.com/repos/astaxie/beego/issues/1524","id":168282606,"user":{"login":"ysqi","id":2821085,"avatar_url":"https://avatars.githubusercontent.com/u/2821085?v=3","gravatar_id":"","url":"https://api.github.com/users/ysqi","html_url":"https://github.com/ysqi","followers_url":"https://api.github.com/users/ysqi/followers","following_url":"https://api.github.com/users/ysqi/following{/other_user}","gists_url":"https://api.github.com/users/ysqi/gists{/gist_id}","starred_url":"https://api.github.com/users/ysqi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ysqi/subscriptions","organizations_url":"https://api.github.com/users/ysqi/orgs","repos_url":"https://api.github.com/users/ysqi/repos","events_url":"https://api.github.com/users/ysqi/events{/privacy}","received_events_url":"https://api.github.com/users/ysqi/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T04:57:15Z","updated_at":"2016-01-01T04:57:15Z","body":"`orm.NewOrm()` only new a db helper instance , any other about db is global, e.g: db connection pool"}}