主题
DataStoreListKeyOptions
DataStore:ListKeysAsync 的可选参数,可通过 DataStoreListKeyOptions.New() 构造。
概览
DataStoreListKeyOptions 是 DataStore:ListKeysAsync 的可选参数容器,用于控制列 key 时是否排除已删除条目。
可通过
DataStoreListKeyOptions.New()构造
代码示例
构造选项
lua
-- @runtime client
local opts = DataStoreListKeyOptions.New()属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
ExcludeDeleted | Bool | - | 是否排除已删除条目(可选)。为 true 时,在列举数据存储键时跳过处于已删除状态的数据键;为 false 时则不会进行排除。 |
