# Functions Gets data for a door with the given id, matching the id for the database entry. ## getDoor ```lua exports.ox_doorlock:getDoor(id) ``` Gets data for a door with the given `id`, matching the id for the database entry. - id: `number` Return: - door: `table` ## getDoorFromName ```lua exports.ox_doorlock:getDoorFromName(name) ``` Gets data for a door with the given `name`, matching the name for the database entry. - name: `string` Return: - door: `table` ## editDoor ```lua exports.ox_doorlock:editDoor(id, data) ``` - id: `number` - data: `table`