Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

jifty::handle(3pm) [debian man page]

Jifty::Handle(3pm)					User Contributed Perl Documentation					Jifty::Handle(3pm)

NAME
Jifty::Handle -- A database handle class for Jifty DESCRIPTION
A wrapper around Jifty::DBI::Handle which is aware of versions in the database METHODS
new PARAMHASH This class method instantiates a new Jifty::Handle object. This object deals with database handles for the system. After it is created, it will be a subclass of Jifty::DBI::Handle. canonical_database_name Returns the canonical name of the application's database (the actual name that will be given to the database driver). This name is a lower-case version of the "Database" argument in the "Database" section of the framework config. For SQLite databases (where the database name is actually a filename), this also converts a relative path into an absolute path based at the application root. connect ARGS Like Jifty::DBI's connect method but pulls the name of the database from the current Jifty::Config. check_schema_version [pretend => 0|1] Make sure that we have a recent enough database schema. If we don't, then error out. If "pretend =" 1> is passed, then any auto-upgrade action this might take is dry-run only. create_database MODE "MODE" is either "print" or "execute". This method either prints the commands necessary to create the database or actually creates it, depending on the value of MODE. Returns undef on failure. drop_database MODE "MODE" is either "print" or "execute". This method either prints the commands necessary to drop the database or actually drops it, depending on the value of MODE. Returns undef on failure. AUTHOR
Various folks at BestPractical Solutions, LLC. perl v5.14.2 2011-01-24 Jifty::Handle(3pm)

Check Out this Related Man Page

Jifty::Filter::DateTime(3pm)				User Contributed Perl Documentation			      Jifty::Filter::DateTime(3pm)

NAME
Jifty::Filter::DateTime -- A Jifty::DBI filter to work with Jifty::DateTime objects SYNOPSIS
# use it with Jifty::DBI::Filter::Date or J::D::F::DateTime column created => type is 'timestamp', filters are qw( Jifty::Filter::DateTime Jifty::DBI::Filter::DateTime), label is 'Created', is immutable; DESCRIPTION
Jifty::Filter::DateTime promotes DateTime objects to Jifty::DateTime (or your application's DateTime subclass) objects on load. This has the side effect of setting their time zone based on the record's current user's preferred time zone, when available. This is intended to be combined with "Jifty::DBI::Filter::Date" or "Jifty::DBI::Filter::DateTime", e.g. column created => type is 'timestamp', filters are qw( Jifty::Filter::DateTime Jifty::DBI::Filter::DateTime), label is 'Created', is immutable; decode If the value is a DateTime, replace it with a Jifty::DateTime (or your application's subclass) representing the same time, setting the time zone in the process. SEE ALSO
Jifty::DBI::Filter::Date, Jifty::DBI::Filter::DateTime, Jifty::DateTime LICENSE
Jifty is Copyright 2005-2010 Best Practical Solutions, LLC. Jifty is distributed under the same terms as Perl itself. perl v5.14.2 2010-12-10 Jifty::Filter::DateTime(3pm)
Man Page

7 More Discussions You Might Find Interesting

1. Programming

¿how can I connect C to a database?

hi, please, help me i need connect my program in C whit a SybaseIQ 12 database i´m programming in solaris 5 (unix) please, help me, because i don`t know what to do... thanks.. jonathan (0 Replies)
Discussion started by: DebianJ
0 Replies

2. Programming

How to connect database in TC

Anybody please help me how connect a database file in TC for windows. regards Senthil. K (5 Replies)
Discussion started by: Senthil
5 Replies

3. IP Networking

how you connect to a database

i am working on informix database can any body helps me with coding how to connect to it on solaris (3 Replies)
Discussion started by: ramneek
3 Replies

4. Shell Programming and Scripting

How to handle the Multiple Rows in the Database

Hi All, I have problem with database validations, actually my requirement is, my code will generate some seqno;s, which i have to check in database, whether the generated seqno;s are present in database or not, if the generated seqno;s are present in the database means, i need to generate... (2 Replies)
Discussion started by: hsekol
2 Replies

5. HP-UX

UNIX memory problems

I don't know if this is better suited for the application section, but here goes. We are currently running HP-UX 11 as our database server. The database is Progress version 9.1C. As of late, some of our batch processes that run on the UNIX db server are erroring out because of what appear to... (3 Replies)
Discussion started by: eddiej
3 Replies

6. Shell Programming and Scripting

Shell Linux to connect to a database and execute store procedure

HI, i want to write a script (Linux) that: 1) connect to a database oracle 2) execute some store procedure. Can anybody help me, please? Thanks a lot Andrew (3 Replies)
Discussion started by: manichino74
3 Replies

7. UNIX for Dummies Questions & Answers

Access to a database

Hello all, is it possible to write a script in order to connect to a database, load data in a specific domain and execute the corresponding command? (3 Replies)
Discussion started by: FelipeAd
3 Replies