1
0
mirror of https://github.com/cheat/cheat.git synced 2025-05-30 20:07:06 +02:00

Add: sqlite3 - describe table schema

This commit is contained in:
Alex Samarin 2019-10-14 09:54:38 +01:00
parent 60bf61c82f
commit 77d0f6d9a0

@ -10,6 +10,9 @@ sqlite3 example.db "INSERT INTO 'Os' VALUES(1,'Linux',1991);"
# list tables
sqlite3 example.db ".tables"
# describe table
sqlite3 example.db ".schema 'Os'"
# view records in table
sqlite3 example.db "SELECT * FROM 'Os';"