# Get Database Data

![](https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FfxIkQunjhOvNBAfIROOS%2Fimage.png?alt=media\&token=2f6bd8d0-b4ee-48bd-a73d-d584070444c7)

{% tabs %}
{% tab title="Entry Vars" %}
**Start at :** The value that indicates where to start the collections that will be returned must be sent.

**End at :**&#x54;he value that indicates where the collections that will be returned will stop must be sent.

**Filter :** The value by which the collections that will be returned will be filtered must be sent.

**Is real time :** It must be activated when we want our consultation to be in real time and every time there is a modification in the consulted route, it will be called again with the updated information.

**Limit to First :** The value that indicates how many collections we want to receive from the first collection must be sent.

**Limit to Last :** The value that indicates how many collections we want to receive from the last collection must be sent.

**Order by :** The parameter by which we will evaluate any of the filtering options must be sent ( Start at , End at , Filter )

**Path on DB :**  It allows us to access the database to indicate the route (path) of the information to send to consult.

**Time to refresh (seconds) :**  A numerical value must be sent that will be equivalent to seconds of cache that our function will have after being consulted for the first time.

**Step by Step :**

<figure><img src="https://476758574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVctm8W2AAd8SbIYUaj27%2Fuploads%2FPv231WK1MxoD9IYptFCd%2FGet%20Database%20Data.gif?alt=media&#x26;token=43296265-bffa-417c-a358-a234896701f4" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Callbacks & OutVar" %}
**Permission denied :**  It is executed when we do not send a correct or non-existent route (path) either because one of the identifiers may be wrong or a connection error.

OutVars&#x20;

`Null`

**End :** It is always executed in parallel with any of the other calbacks regardless of the execution response.

OutVars&#x20;

`Null`

**Empty data :** It is executed when the route that we query does not contain information in any property.

OutVars&#x20;

`Null`

**Data obtainded :** It is executed when the route (path) that we consult returns the information that it has stored.

OutVars&#x20;

`Null`
{% endtab %}

{% tab title="Features" %}

{% endtab %}

{% tab title="examples" %}

{% endtab %}
{% endtabs %}

&#x20;&#x20;
