Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 251 Bytes

commands.MD

File metadata and controls

3 lines (2 loc) · 251 Bytes

Create the test table: npx wrangler@d1 d1 execute test-d1 --command='CREATE TABLE Test (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, name TEXT NOT NULL);'

List tables: npx wrangler@d1 d1 execute test-d1 --command='SELECT * FROM sqlite_master;'