> For the complete documentation index, see [llms.txt](https://documentation.jaksam-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.jaksam-scripts.com/doors-creator/server/refresh-database.md).

# Refresh database

## Export

```lua
exports["doors_creator"]:refreshDatabase()
```

## Example

```lua
RegisterCommand("refreshDoorsCreator", function(playerId)
    -- Only server console can use the command
    if(playerId and playerId > 0) then return end
    
    exports["doors_creator"]:refreshDatabase()
end)
```
