DAO にメソッド追加

This commit is contained in:
2024-02-08 01:02:59 +09:00
parent 34859e55b3
commit 837b3aaab5
3 changed files with 101 additions and 4 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ class
Thread
{
public static function
fetch_threads (
fetch_all (
SQLite3 $db)
: array
{
@@ -35,7 +35,7 @@ Thread
$threads = [];
while (($row = $threads -> fetchArray (SQLITE3_ASSOC)) !== false)
while (($row = $result -> fetchArray (SQLITE3_ASSOC)) !== false)
{
$thread = new Dto\Thread;