# DATABINDING::_DATABINDING_ADD_DATA_CONTAINER_FROM_PATH_BY_HASH

- **Hash:** `0xD7DB94AB78E8EBE4`
- **Namespace:** DATABINDING
- **Runtime name (Lua/JS):** `DatabindingAddDataContainerFromPathByHash`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/DATABINDING/_DATABINDING_ADD_DATA_CONTAINER_FROM_PATH_BY_HASH

## Signature

```c
Any _DATABINDING_ADD_DATA_CONTAINER_FROM_PATH_BY_HASH(const char* p0, Hash path);
```

## Parameters

- `p0` (`const char*`)
- `path` (`Hash`)

## Returns

`Any`

## Description

*Source: VORPCORE RDR3natives*

p0 seems to always be empty string, p1 is the hash of the path

## Usage

### Lua

```lua
local retval = DatabindingAddDataContainerFromPathByHash(p0, path)

-- always available, by hash
local retval = Citizen.InvokeNative(0xD7DB94AB78E8EBE4, p0, path, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = DatabindingAddDataContainerFromPathByHash(p0, path);

// by hash
const retval = Citizen.invokeNative('0xD7DB94AB78E8EBE4', p0, path, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xD7DB94AB78E8EBE4, p0, path);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.
- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
