{"action":"created","issue":{"url":"https://api.github.com/repos/frioux/DBIx-Class-Helpers/issues/44","labels_url":"https://api.github.com/repos/frioux/DBIx-Class-Helpers/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/frioux/DBIx-Class-Helpers/issues/44/comments","events_url":"https://api.github.com/repos/frioux/DBIx-Class-Helpers/issues/44/events","html_url":"https://github.com/frioux/DBIx-Class-Helpers/issues/44","id":60849931,"number":44,"title":"not_null shortcut","user":{"login":"moltar","id":491247,"avatar_url":"https://avatars.githubusercontent.com/u/491247?v=3","gravatar_id":"","url":"https://api.github.com/users/moltar","html_url":"https://github.com/moltar","followers_url":"https://api.github.com/users/moltar/followers","following_url":"https://api.github.com/users/moltar/following{/other_user}","gists_url":"https://api.github.com/users/moltar/gists{/gist_id}","starred_url":"https://api.github.com/users/moltar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moltar/subscriptions","organizations_url":"https://api.github.com/users/moltar/orgs","repos_url":"https://api.github.com/users/moltar/repos","events_url":"https://api.github.com/users/moltar/events{/privacy}","received_events_url":"https://api.github.com/users/moltar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-03-12T16:41:52Z","updated_at":"2015-05-24T14:22:07Z","closed_at":"2015-05-24T14:22:07Z","body":"What do you think about having a `not_null` shortcut?\r\n\r\nExample from my own use:\r\n\r\n```perl\r\n=head2 not_null($column)\r\n\r\nEnsure that given C<$column> is not null.\r\n\r\n=cut\r\n\r\nsub not_null {\r\n    my ($self, $column) = @_;\r\n\r\n    return $self->search_rs({ $self->me($column) => { '!=' => undef } });\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/frioux/DBIx-Class-Helpers/issues/comments/105020989","html_url":"https://github.com/frioux/DBIx-Class-Helpers/issues/44#issuecomment-105020989","issue_url":"https://api.github.com/repos/frioux/DBIx-Class-Helpers/issues/44","id":105020989,"user":{"login":"frioux","id":8163,"avatar_url":"https://avatars.githubusercontent.com/u/8163?v=3","gravatar_id":"","url":"https://api.github.com/users/frioux","html_url":"https://github.com/frioux","followers_url":"https://api.github.com/users/frioux/followers","following_url":"https://api.github.com/users/frioux/following{/other_user}","gists_url":"https://api.github.com/users/frioux/gists{/gist_id}","starred_url":"https://api.github.com/users/frioux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frioux/subscriptions","organizations_url":"https://api.github.com/users/frioux/orgs","repos_url":"https://api.github.com/users/frioux/repos","events_url":"https://api.github.com/users/frioux/events{/privacy}","received_events_url":"https://api.github.com/users/frioux/received_events","type":"User","site_admin":false},"created_at":"2015-05-24T14:22:07Z","updated_at":"2015-05-24T14:22:07Z","body":"released!"}}