Skip to content

nephia/Nephia-Plugin-Otogiri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

NAME

Nephia::Plugin::Otogiri - Quick hack database plugin for Nephia

SYNOPSIS

package MyApp;
use Nephia plugins => ['Otogiri'];
app {
    database_do <<'EOF';
CREATE TABLE member (
    ...
);
EOF
    db->insert(member => {...});
};

DESCRIPTION

Nephia::Plugin::Otogiri is a plugin for Nephia. It provides DSL for accessing to database.

DSL

database_do

database_do $sql;

Execute specified SQL.

db

my $db = db;

Returns an Otogiri object.

LICENSE

Copyright (C) papix.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Otogiri

AUTHOR

papix [email protected]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages