Skip to content

Commit

Permalink
Add separators to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
btk5h committed Nov 19, 2017
1 parent 9f41438 commit fabf37d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ The url format for your database may vary! The example below uses a MySQL databa
set {sql} to the database "mysql://localhost:3306/sys?user=admin&password=12345&useSSL=false"
```

---

### Effect `Execute Statement`

Executes a statement on a database and optionally stores the result in a variable. Expressions embedded in the query will be escaped to avoid SQL injection.
Expand All @@ -40,6 +42,8 @@ execute "select * from table" in {sql} and store the result in {output::*}
execute "select * from %{table variable}%" in {sql} and store the result in {output::*}
```

---

### Expression `Unsafe Expression` => `text`

Opts out of automatic SQL injection protection for a specific expression in a statement.
Expand All @@ -55,10 +59,14 @@ execute "select %unsafe {columns variable}% from %{table variable}%" in {sql} an
execute unsafe {fully dynamic query} in {sql}
```

---

### Expression `Last Data Source Error` => `text`

Stores the error from the last executed statement, if there was one.

#### Syntax

`[the] [last] (sql|db|data(base|[ ]source)) error`

---

0 comments on commit fabf37d

Please sign in to comment.