Commit 83a230e 1 parent 2cb2422 commit 83a230e Copy full SHA for 83a230e
File tree 1 file changed +10
-9
lines changed
1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
- # dynamite
1
+ # Dynamite
2
+
2
3
Dynamo query REPL
3
4
4
5
[ ![ CircleCI] ( https://circleci.com/gh/joprice/dynamite/tree/master.svg?style=svg )] ( https://circleci.com/gh/joprice/dynamite/tree/master )
5
6
6
- # Installing
7
+ ## Installing
7
8
8
9
` brew tap joprice/tap && brew install dynamite `
9
10
10
- # Querying
11
+ ## Querying
11
12
12
13
A limited subset of dynamo and sql are currently supported:
13
14
14
- ## Select
15
+ ### Select
15
16
16
17
``` sql
17
18
dql> select * from playlists limit 10
@@ -25,30 +26,30 @@ dql> select * from playlists where userId = 1 and id = 2 limit 10
25
26
dql> select id, name from playlists limit 1
26
27
```
27
28
28
- ## Insert
29
+ ### Insert
29
30
30
31
``` sql
31
32
dql> insert into playlists (userId, id) values (1 , 10 )
32
33
```
33
- ## Update
34
+ ### Update
34
35
35
36
``` sql
36
37
dql> update playlists set name = ' 80s Party' where userId = 1 and id = 10
37
38
```
38
39
39
- ## Delete
40
+ ### Delete
40
41
41
42
``` sql
42
43
dql> delete from playlists where userId = 1 and id = 10
43
44
```
44
45
45
- ## Show tables
46
+ ### Show tables
46
47
47
48
``` sql
48
49
dql> show tables
49
50
```
50
51
51
- # Scripting
52
+ ## Scripting
52
53
53
54
Dynamite can also be used to run a single script:
54
55
You can’t perform that action at this time.
0 commit comments