Previous Page
_bind()

Solar_Sql_Adapter_Sqlite
_buildDsn()

Next Page
_checkIdentifier()

_buildDsn()

protected string _buildDsn ( array $info )

Creates a PDO-style DSN.

Parameters

  • (array) $info: An array with host, post, name, etc. keys.

Returns

  • (string) The DSN string.

Description

Creates a PDO-style DSN.

For example, "mysql:host=127.0.0.1;dbname=test"