Created
November 6, 2009 19:32
-
-
Save mascarenhas/228208 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local done_recently = todo_list:find_all("done = ? and updated_at >= ?", | |
{ true, os.time{ year = 2009, month = 11, day = 01 }, order = "created_at desc" }) | |
for _, item in ipairs(done_recently) do | |
print(item.title) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment