Back: DBI.Connection-querying Up: DBI package Forward: DBI.ConnectionInfo class-instance creation   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

3.3 DBI.ConnectionInfo

Defined in namespace DBI
Superclass: Object
Category: DBI-Framework
A utility class to contain connection info.

3.3.1 DBI.ConnectionInfo class: instance creation  (class)
3.3.2 DBI.ConnectionInfo: accessing  (instance)


3.3.1 DBI.ConnectionInfo class: instance creation

fromDSN: aDSN
Parse a DSN in the format dbi:DriverName:dbname=database_name;host=hostname;port=port where dbi is constant, DriverName is the name of the driver, and everything else is parameters in the form name1=value1;name2=value2;...


3.3.2 DBI.ConnectionInfo: accessing

driver
Answer the driver; this is not the driver class.

driver: aString
Set the driver; this is not the driver class.

paramString: aString
Set the parameter list.

params
Return the parsed parameters in a Dictionary.

scheme
Answer the scheme; the only supported one is 'dbi'.

scheme: aString
Set the scheme; the only supported one is 'dbi'.



Back: DBI.ConnectionInfo class-instance creation Up: DBI.ConnectionInfo Forward: DBI.FieldConverter   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on August, 19 2010 using texi2html