Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Object::Relation::Setup::DB::SQLite 0.1.0

    Download button

    No screenshots available
    Downloads: 361  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Kineticode, Inc. | More programs
    Perl Artistic License / FREE
    October 23rd, 2007, 02:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Object::Relation::Setup::DB::SQLite description

    Object::Relation::Setup::DB::SQLite module inherits from Object::Relation::Setup::DB to build a SQLite set up store.

    Object::Relation::Setup::DB::SQLite is a Perl module that inherits from Object::Relation::Setup::DB to build a SQLite set up store.

    Class Interface

    Constructors

    new
    my $sqlite_setup = Object::Relation::Setup::DB::SQLite->new(%params);

    The constructor inherits from Object::Relation::Setup::DB, but detects when the dsn attribute isn't set, and sets it to a default value. The database file in that value will be obj_rel.db and will live in the directory returned by File::Temp::tempdir().

    Class Methods

    connect_attrs
    DBI->connect(
    $dsn, $user, $pass,
    { Object::Relation::Setup::DB::SQLite->connect_attrs }
    );

    Returns a list of arugments to be used in the attributes hash passed to the DBI connect() method. Overrides that provided by Object::Relation::Setup::DB to add unicode => 1.

    Instance Interface

    Instance Methods

    setup
    $setup->setup;

    Sets up the data store. This implementation simply constructs a database handle and assigns it to the dbh attribute, and then calls SUPER::setup() to let Object::Relation::Setup::DB handle the bulk of the work.

    teardown
    $kbs->teardown;

    Tears down the database by disconnecting all database connections and deleting the database file, which is extracted from the DSN.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    SQLite storage | build database storage | Perl module | Object::Relation::Se | SQLite | storage

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM