{"action":"created","issue":{"url":"https://api.github.com/repos/gabordemooij/redbean/issues/495","repository_url":"https://api.github.com/repos/gabordemooij/redbean","labels_url":"https://api.github.com/repos/gabordemooij/redbean/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/gabordemooij/redbean/issues/495/comments","events_url":"https://api.github.com/repos/gabordemooij/redbean/issues/495/events","html_url":"https://github.com/gabordemooij/redbean/issues/495","id":145069055,"number":495,"title":"about table name","user":{"login":"sunmenghua","id":5735656,"avatar_url":"https://avatars.githubusercontent.com/u/5735656?v=3","gravatar_id":"","url":"https://api.github.com/users/sunmenghua","html_url":"https://github.com/sunmenghua","followers_url":"https://api.github.com/users/sunmenghua/followers","following_url":"https://api.github.com/users/sunmenghua/following{/other_user}","gists_url":"https://api.github.com/users/sunmenghua/gists{/gist_id}","starred_url":"https://api.github.com/users/sunmenghua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunmenghua/subscriptions","organizations_url":"https://api.github.com/users/sunmenghua/orgs","repos_url":"https://api.github.com/users/sunmenghua/repos","events_url":"https://api.github.com/users/sunmenghua/events{/privacy}","received_events_url":"https://api.github.com/users/sunmenghua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-01T02:29:18Z","updated_at":"2016-04-05T03:51:53Z","closed_at":null,"body":"I have a double about table name. \r\n\r\nhttp://www.redbeanphp.com/index.php?p=/crud\r\n```\r\n$page = R::dispense('page'); //valid\r\n\r\n$page = R::dispense( 'Page' ); //invalid: uppercase\r\n$page = R::dispense( 'cms_page' ); //invalid: _\r\n$page = R::dispense( '@#!' ); //invalid\r\n```\r\n\r\nhttp://www.redbeanphp.com/index.php?p=/fluid_and_frozen\r\n```\r\nR::freeze( ['book','page','book_page'] );\r\n```\r\n\r\nHow do I dispense a new bean object with type 'book_page'?\r\n"},"comment":{"url":"https://api.github.com/repos/gabordemooij/redbean/issues/comments/205629943","html_url":"https://github.com/gabordemooij/redbean/issues/495#issuecomment-205629943","issue_url":"https://api.github.com/repos/gabordemooij/redbean/issues/495","id":205629943,"user":{"login":"sunmenghua","id":5735656,"avatar_url":"https://avatars.githubusercontent.com/u/5735656?v=3","gravatar_id":"","url":"https://api.github.com/users/sunmenghua","html_url":"https://github.com/sunmenghua","followers_url":"https://api.github.com/users/sunmenghua/followers","following_url":"https://api.github.com/users/sunmenghua/following{/other_user}","gists_url":"https://api.github.com/users/sunmenghua/gists{/gist_id}","starred_url":"https://api.github.com/users/sunmenghua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunmenghua/subscriptions","organizations_url":"https://api.github.com/users/sunmenghua/orgs","repos_url":"https://api.github.com/users/sunmenghua/repos","events_url":"https://api.github.com/users/sunmenghua/events{/privacy}","received_events_url":"https://api.github.com/users/sunmenghua/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T03:51:53Z","updated_at":"2016-04-05T03:51:53Z","body":"I have other question about relation load.\r\n```\r\n$products = R::findAll('product');\r\nforeach ($products as $product) {\r\n    // load shop\r\n    $product->shop;\r\n}\r\n```\r\nIn this way, n+1 sql ran.\r\nDo you have any suggestions? Like Eloquent's Lazy Eager Loading."}}