Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SPOPS::DBI::MySQL(3)  User Contributed Perl Documentation SPOPS::DBI::MySQL(3)

NAME
       SPOPS::DBI::MySQL -- MySQL-specific code	for DBI	collections

SYNOPSIS
	myobject => {
	  isa		  => [ qw( SPOPS::DBI::MySQL SPOPS::DBI	) ],
	  increment_field => 1,
	};

DESCRIPTION
       This just implements some MySQL-specific	routines so we can abstract
       them out.

       One of these items is to	return the just-inserted ID. Only works	for
       tables that have	at least one auto-increment field:

	CREATE TABLE my_table (
	  id  int not null auto_increment,
	  ...
	)

       You must	also specify a true value for the class	configuration variable
       'increment_field' to be able to automatically retrieve auto-increment
       field values.

BUGS
       None known.

TO DO
       Nothing known.

SEE ALSO
       SPOPS::Key::HandleField

       DBD::mysql

       DBI

COPYRIGHT
       Copyright (c) 2001-2004 intes.net, inc..	All rights reserved.

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

AUTHORS
       Chris Winters  <chris@cwinters.com>

perl v5.32.0			  2004-06-02		  SPOPS::DBI::MySQL(3)

NAME | SYNOPSIS | DESCRIPTION | BUGS | TO DO | SEE ALSO | COPYRIGHT | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=SPOPS::DBI::MySQL&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help