summaryrefslogtreecommitdiff
path: root/luals-stubs/database.lua
diff options
context:
space:
mode:
Diffstat (limited to 'luals-stubs/database.lua')
-rw-r--r--luals-stubs/database.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/luals-stubs/database.lua b/luals-stubs/database.lua
index a21f61be..9d6c4c48 100644
--- a/luals-stubs/database.lua
+++ b/luals-stubs/database.lua
@@ -67,6 +67,9 @@ local Index = {}
--- @return string
function Index:name() end
+--- Returns the media type of this index
+function Index:type() end
+
--- Returns a new iterator that can be used to access every record within the
--- first level of this index.
--- @return Iterator it An iterator that yields `Record`s.