mirror of
				https://github.com/cheat/cheat.git
				synced 2025-11-03 23:35:27 +01:00 
			
		
		
		
	Merge pull request #472 from asamarin/master
Add: sqlite3 - describe table schema
This commit is contained in:
		@@ -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';"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user