From 6deb3863c43563d8e79c7a41c32e845045f9036b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristaps=20Mui=C5=BEnieks?= <53869559+krmu@users.noreply.github.com> Date: Tue, 16 Jan 2024 14:22:25 +0200 Subject: [PATCH] Update README.md Typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3e136d8..4158f44 100644 --- a/README.md +++ b/README.md @@ -586,7 +586,7 @@ Flight::route('/users', function () { // Insert a new user Flight::db()->runQuery("INSERT INTO users (name, email) VALUES (?, ?)", ['Bob', 'bob@example.com']); - $insert_id = $Flight::db()->lastInsertId(); + $insert_id = Flight::db()->lastInsertId(); // Update a user Flight::db()->runQuery("UPDATE users SET name = ? WHERE id = ?", ['Bob', 123]);