{"id":17237815,"url":"https://github.com/tarao/perl5-dbix-handler-sunny","last_synced_at":"2025-07-12T15:35:52.043Z","repository":{"id":28381066,"uuid":"31895170","full_name":"tarao/perl5-DBIx-Handler-Sunny","owner":"tarao","description":null,"archived":false,"fork":false,"pushed_at":"2017-05-09T01:37:38.000Z","size":16,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-26T08:03:25.299Z","etag":null,"topics":["perl"],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tarao.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-09T11:38:45.000Z","updated_at":"2017-05-09T00:16:45.000Z","dependencies_parsed_at":"2022-09-24T06:01:36.313Z","dependency_job_id":null,"html_url":"https://github.com/tarao/perl5-DBIx-Handler-Sunny","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tarao/perl5-DBIx-Handler-Sunny","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarao%2Fperl5-DBIx-Handler-Sunny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarao%2Fperl5-DBIx-Handler-Sunny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarao%2Fperl5-DBIx-Handler-Sunny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarao%2Fperl5-DBIx-Handler-Sunny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarao","download_url":"https://codeload.github.com/tarao/perl5-DBIx-Handler-Sunny/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarao%2Fperl5-DBIx-Handler-Sunny/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262026905,"owners_count":23246951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["perl"],"created_at":"2024-10-15T05:43:49.610Z","updated_at":"2025-06-26T08:03:25.525Z","avatar_url":"https://github.com/tarao.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/tarao/perl5-DBIx-Handler-Sunny.svg?branch=master)](https://travis-ci.org/tarao/perl5-DBIx-Handler-Sunny)\n# NAME\n\nDBIx::Handler::Sunny - DBIx::Handler meets Sunny\n\n# SYNOPSIS\n\n    use DBIx::Handler::Sunny;\n    my $handler = DBIx::Handler::Sunny-\u003enew($dsn, $user, $pass, $opts);\n    my $col = $handler-\u003eselect_one('SELECT ...');\n    my $row = $handler-\u003eselect_row('SELECT ...');\n    my $rows = $handler-\u003eselect_all('SELECT ...');\n\n# DESCRIPTION\n\n`DBIx::Handler::Sunny` is a DBI handler with some useful interface.\nIt ads [DBIx::Handler](https://metacpan.org/pod/DBIx::Handler) to methods for selecting a column or row(s).\n\nThe methods are taken from [DBIx::Sunny](https://metacpan.org/pod/DBIx::Sunny).\n\n# METHODS\n\n- select\\_one\n\n        $col = $handler-\u003eselect_one($query, @bind);\n\n    Shortcut for `prepare`, `execute` and `fetchrow_arrayref-\u003e[0]`.\n\n- select\\_row\n\n        $row = $handler-\u003eselect_row($query, @bind);\n\n    Shortcut for `prepare`, `execute` and `fetchrow_hashref`.\n\n- select\\_all\n\n        $rows = $handler-\u003eselect_all($query, @bind);\n\n    Shortcut for `prepare`, `execute` and `selectall_arrayref(..., { Slice =\u003e {} }, ...)`.\n\n- last\\_insert\\_id\n\n        $id = $handler-\u003elast_insert_id\n\n    Retrieve the last insert ID by suitable way for the DB driver.\n    Supported drivers are SQLite and MySQL.\n\n# SEE ALSO\n\n[DBIx::Handler](https://metacpan.org/pod/DBIx::Handler)\n\n[DBIx::Sunny](https://metacpan.org/pod/DBIx::Sunny)\n\n# LICENSE\n\nCopyright (C) INA Lintaro\n\nThis library is free software; you can redistribute it and/or modify\nit under the same terms as Perl itself.\n\n# AUTHOR\n\nINA Lintaro \u003ctarao.gnn@gmail.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarao%2Fperl5-dbix-handler-sunny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarao%2Fperl5-dbix-handler-sunny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarao%2Fperl5-dbix-handler-sunny/lists"}