🎉 Successfully connected noisy-king-6a41 to D1

Your D1 Database contains the following data:

> SELECT * FROM comments LIMIT 3;
[ { "id": 1, "author": "Kristian", "body": "Great post!", "post_slug": "hello-world" }, { "id": 2, "author": "Serena", "body": "Keep up the good work.", "post_slug": "hello-world" }, { "id": 3, "author": "Max", "body": "Thanks for the great writeup.", "post_slug": "tutorial-123" }, { "id": 4, "author": "Zeb", "body": "Well written!", "post_slug": "tutorial-123" }, { "id": 56, "author": "5", "body": "58", "post_slug": "1715748738738.0" }, { "id": 57, "author": "a", "body": "b", "post_slug": "c" }, { "id": 58, "author": "a", "body": "b", "post_slug": "c" }, { "id": 59, "author": ".git", "body": "config", "post_slug": "1716643222415.0" }, { "id": 60, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1749141058111.0" }, { "id": 61, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1750133633034.0" }, { "id": 62, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1753717813511.0" }, { "id": 63, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1756894272472.0" }, { "id": 64, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1757287841001.0" }, { "id": 65, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1757597813318.0" }, { "id": 66, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1760792349313.0" }, { "id": 67, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1770504682954.0" }, { "id": 68, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1770589923285.0" }, { "id": 69, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1770749542409.0" }, { "id": 70, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1773559740421.0" }, { "id": 71, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1773685097232.0" }, { "id": 72, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1774212896782.0" }, { "id": 73, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1775954224765.0" }, { "id": 74, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1777337231433.0" }, { "id": 75, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1780404442516.0" }, { "id": 76, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1781592205017.0" }, { "id": 77, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1782504855222.0" }, { "id": 78, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1786800948606.0" }, { "id": 79, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1787546634164.0" }, { "id": 80, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1787709029900.0" }, { "id": 81, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1789263400513.0" }, { "id": 82, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1789477374293.0" }, { "id": 83, "author": ".git", "body": "config", "post_slug": "1790736372756.0" }, { "id": 84, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1791922799598.0" }, { "id": 85, "author": "wp-json", "body": "", "post_slug": "1793805208003.0" }, { "id": 86, "author": "wp-json", "body": "", "post_slug": "1793845950859.0" }, { "id": 87, "author": "wp-json", "body": "", "post_slug": "1793845964274.0" }, { "id": 88, "author": "wp-includes", "body": "wlwmanifest.xml", "post_slug": "1794161051669.0" } ]
Build a comments API with Workers and D1