Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.126.052 Times

Persistent::MySQL 0.50

  Date Added: September 06, 2010  |  Visits: 592

Persistent::MySQL

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)

Persistent::MySQL is a persistent class implemented using a MySQL database. SYNOPSIS use Persistent::MySQL; use English; # import readable variable names like $EVAL_ERROR eval { ### in case an exception is thrown ### ### allocate a persistent object ### my $emp = new Persistent::MySQL($data_source, $username, $password, $table); ### define attributes of the object ### $emp->add_attribute(empno, ID, Number, undef, 4); $emp->add_attribute(ename, Persistent, VarChar, undef, 10); $emp->add_attribute(job, Persistent, VarChar, undef, 9); $emp->add_attribute(mgr, Persistent, Number, undef, 4); $emp->add_attribute(hiredate, Persistent, DateTime, undef); $emp->add_attribute(sal, Persistent, Number, undef, 7, 2); $emp->add_attribute(comm, Persistent, Number, undef, 7, 2); $emp->add_attribute(deptno, Persistent, Number, undef, 2); ### query the datastore for some objects ### $emp->restore_where(qq{ sal > 1000 and job = CLERK and ename LIKE M% }, "sal, ename"); while ($emp->restore_next()) { printf "ename = %s, emp# = %s, sal = %s, hiredate = %sn", $emp->ename, $emp->empno, $emp->sal, $emp->hiredate; } }; if ($EVAL_ERROR) { ### catch those exceptions! ### print "An error occurred: $EVAL_ERRORn"; } ABSTRACT This is a Persistent class that uses a MySQL database table to store and retrieve objects. This class can be instantiated directly or subclassed. The methods described below are unique to this class, and all other methods that are provided by this class are documented in the Persistent documentation. The Persistent documentation has a very thorough introduction to using the Persistent framework of classes..

Requirements: No special requirements
Platforms: Linux
Keyword: Attribute Class Eval Libraries Mysql Persistent Persistentmysql Programming Sal Undef Using Using A
Users rating: 0/10

License: Freeware Size: 10.24 KB
PERSISTENT::MYSQL RELATED
Libraries  -  Persistent::Base 0.52
Persistent::Base is an Abstract Persistent Base Class. SYNOPSIS ### we are a subclass of ... ### use Persistent::Base; @ISA = qw(Persistent::Base); ABSTRACT This is an abstract class used by the Persistent framework of classes to...
38.91 KB  
Libraries  -  phpMysqlConnection 1.5.9
phpMysqlConnection provides a PHP class for handling MySQL database connections. phpMysqlConnection is an interface class to be used with the PHP programming language to help projects connect to a MySQL database server and perform queries. The...
7.17 KB  
Libraries  -  phpSortable 2.0
phpSortable project is a PHP class that shows MySQL QueryResults in an HTML table. As implied by the name "Sortable", the table also displays the column headers as links which lead to a version of the table that is sorted according to that column....
153.6 KB  
Database Tools  -  MySQL DB Schema to XML and XML to Schema 1.0
The table schema of a MySQL database can be retrieved and exported to a XML definitions file by one class.Another class can do the opposite, i.e. read the definitions of a MySQL database schema from a XML file and update the currently installed...
10 KB  
Database Tools  -  New DB Class 1.0
New DB Class is a class for access MySQL and Sybase ASE.
20.48 KB  
Database Tools  -  Sam MySQL Database Class 1.0
Sam MySQL Database Class wraps common MySQL database table SQL queries.Functions of Sam MySQL Database Class:- Perform SELECT queries and retrieve a single value, a single row into an array and all rows into a multidimensional array.- Insert or...
30.72 KB  
Database Tools  -  PHP MySQL Connection Class 1.0
This PHP class can access MySQL databases from PHP code. It features a very simple and easy to understand PHP syntax, allowing it to easily be called from any PHP application.Here are some Key Features of PHP MySQL Connection Class:-Establish...
143.36 KB  
Database Tools  -  MyPagination Class 2.6.0
MyPagination is a PHP/MySQL Class easily allows you to break up large result sets from a database query, and present it to the viewers in a more manageable way, and restrict database results without having to create complex pagination...
174.08 KB  
Database Tools  -  ActiveDBLib 1.0
ActiveDBLib is a PHP class to access MySQL or optionally other databases by using various Database Abstraction Libraries. Its primary intention is to hide the differences between the different database abstraction Libraries and to provide standard...
10 KB  
Database Tools  -  MySQL Abstractor 2.2
MySQL Abstractor package contains PHP classes that implements a MySQL database abstraction layer. It provides several classes. There is one for establishing connections and executing SQL queries, another for composing and executing SELECT,...
 
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB