Skip to content

Commit acdfc36

Browse files
author
Jason Feinstein
committed
Bump version number and add SQLite help; to README.md
1 parent aadafc2 commit acdfc36

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,42 @@ You can exit at any time by running the `exit();` command.
138138

139139
sqlite>
140140

141+
As with the Debug server, there is a help command for the SQLite server:
142+
143+
sqlite> help;
144+
Help:
145+
As you'd expect, you can execute any valid SQLite statements against the database to which you're
146+
currently connected (see: `USE [database name];` below).
147+
148+
In addition to regular SQLite commands, Android DebugPort provides additional functionality via several
149+
additional commands.
150+
151+
Available non-SQLite commands (case insensitive):
152+
Databases:
153+
CREATE DATABASE [database name];
154+
Create a new database called [database name].
155+
DROP DATABASE [database name];
156+
Drop the database named [database name] from the app's collection of databases.
157+
USE [database name];
158+
Connect to the database called [database name]. All SQL commands will be executed against
159+
this database until USE is called again.
160+
161+
Inspection:
162+
SHOW CREATE TABLE [table name];
163+
Show the CREATE TABLE command used to create [table name].
164+
SHOW DATABASES;
165+
Show all available databases for the app, including temporary databases.
166+
SHOW TABLES;
167+
Show all of the tables defined for the database to which you are currently connected.
168+
169+
Other:
170+
exit; or quit;
171+
Exit this interpreter.
172+
help;
173+
Show this help message.
174+
175+
sqlite>
176+
141177
Try running `show databases;` to see the available databases for your app:
142178

143179
sqlite> show databases;

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111
minSdkVersion 9
1212
targetSdkVersion 23
1313
versionCode 1
14-
versionName "1.0.1"
14+
versionName "1.1.0"
1515
}
1616
buildTypes {
1717
release {

0 commit comments

Comments
 (0)