Fix grammar

This commit is contained in:
Lars Mueller 2022-02-28 01:22:00 +01:00
parent 7ef08b8a5c
commit f7522265b6

@ -209,7 +209,7 @@ CREATE TABLE IF NOT EXISTS table_entries (
-- Null is unused -- Null is unused
error("unsupported type: " .. type_) error("unsupported type: " .. type_)
end end
-- Order by key_content to have retrieve list parts in the correct order, making it easier for Lua -- Order by key_content to retrieve list parts in the correct order, making it easier for Lua
for table_id, key_type, key, value_type, value in self.database:urows"SELECT * FROM table_entries ORDER BY table_id, key_type, key" do for table_id, key_type, key, value_type, value in self.database:urows"SELECT * FROM table_entries ORDER BY table_id, key_type, key" do
local table = tables[table_id] or {} local table = tables[table_id] or {}
counts[table] = counts[table] or 1 counts[table] = counts[table] or 1