Object description
Provides database connectivity and query operations.
Object functions
- begin [1.14.9+]
Begins a transaction.
- close [1.14.9+]
Closes the connection.
- commit [1.14.9+]
Commits the current transaction.
- construct [1.14.9+]
The `construct` operation for the Database object.
- constructDatabase [1.14.9+]
Opens a JDBC connection. An unsuccessful connection produces undefined.
- execute [1.14.9+]
Runs an update and returns its affected-row count.
- get_last_error [1.14.9+]
Returns the latest JDBC error message.
- is_open [1.14.9+]
Returns whether the connection is open.
- prepare [1.14.9+]
Creates a named prepared statement.
- query [1.14.9+]
Runs a query and returns each row as a map.
- rollback [1.14.9+]
Rolls back the current transaction.

There are no comments on this page.
Comments are welcome and encouraged, including disagreement and critique. However, this is not a space for abuse. Disagreement is welcome; personal attacks, harassment, or hate will be removed instantly. This site reflects personal opinions, not universal truths. If you can’t distinguish between the two, this probably isn’t the place for you. The system temporarily stores IP addresses and browser user agents for the purposes of spam prevention, moderation, and safeguarding. This data is automatically removed after fourteen days. Your email address is stored so that replies can be sent to your email address.
Comments powered by BalfComment