# DatabaseManager

{% hint style="info" %}
**It is recommended to use DBMS.**

DBMS automatically uses the driver the website administrator has selected as their preferred option.
{% endhint %}

## Database Management System (DBMS)

DBMS is the main library used to communicate with Saturn's database.

{% content-ref url="databasemanager/dbms" %}
[dbms](https://docs.saturncms.net/1.0.0/dev/libraries-and-functions/databasemanager/dbms)
{% endcontent-ref %}

##

## Get error

You can check for an error with your query by using the `error()` function in DBMS.

If there is an error a string with the error code will be returned. If there is no error this will return `NULL`
