Skip to the content
Documentation

expdataconnection

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

A named database connection made in the administration (Setup > Data tables > Connections): a row of exp_data_connection.

Description

A named database connection made in the administration (Setup > Data tables > Connections): a row of exp_data_connection. The password is the NAME of a secret of the kernel's secret store (expSecrets), never a value. Connections an extension declares in datatable.ini [Connection_<identifier>] are not rows; expDataConnections lists both the same way (doc/eng-us/features/6.0/data-tables.md, "Connections").

@since 6.0.15

Persistent

Yes. Table exp_data_connection.

Attributes

Attribute Type Static*
id integer Yes.
identifier string Yes.
name string Yes.
engine string Yes.
server string Yes.
port integer Yes.
database_name string Yes.
user_name string Yes.
secret string Yes.
options text Yes.
description string Yes.
read_only integer Yes.
created integer Yes.
modified integer Yes.
creator_id integer Yes.
modifier_id integer Yes.
options_array - No.

* Yes: a field of the table (a stored value); No: a function attribute, computed when it is asked for.

Source

kernel/classes/datatable/expdataconnection.php, expDataConnection::definition()

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this object.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.