Skip to content

Commit 4335cb6

Browse files
committed
🩹 fix example link
1 parent 3d89dc1 commit 4335cb6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sqlite.lua 💫
77

88
- [Changelog](https://github.com/tami5/sqlite.lua/blob/master/CHANGELOG.md)
99
- [Docs](https://github.com/tami5/sqlite.lua/blob/master/doc/sqlite.txt)
10-
- [Examples](https://github.com/tami5/sqlite.lua/blob/master/examples)
10+
- [Examples](https://github.com/tami5/sqlite.lua/blob/master/lua/sqlite/examples)
1111
- [Powered By sqlite.lua](https://github.com/tami5/sqlite.lua#-powered-by-sqlitelua)
1212

1313
<p align="center"> <img src="./doc/preview.svg"> </p>

lua/sqlite/examples/bookmarks.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ function entries:get(q)
220220
return entry
221221
end
222222

223-
for _, ts in pairs(ts:get(entry.id)) do
223+
for _, _ts in pairs(ts:get(entry.id)) do
224224
for _, rank in ipairs(ages) do
225-
if ts.age <= rank.age then
225+
if _ts.age <= rank.age then
226226
recency_score = recency_score + rank.value
227227
goto continue
228228
end

0 commit comments

Comments
 (0)