Skip to content

Commit 8dc952b

Browse files
author
Renat Zubairov
authored
Update README.md
1 parent 37f1b02 commit 8dc952b

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ Before you can deploy any code into elastic.io **you must be a registered elasti
1313

1414
## Getting Started
1515

16+
### Authentication
17+
18+
You may use following URI:
19+
20+
```
21+
mssql://username:password@localhost:1433/database?encrypt=true
22+
```
23+
24+
other types of configuration parameters are also supported, more infromation and samples you can find [here](https://www.npmjs.com/package/mssql#formats)
25+
1626
### SELECT Trigger and Action
1727

1828
With this action you may fetch data out of the database, e.g. using ``SELECT`` statement.
@@ -57,15 +67,7 @@ Following types are supported:
5767

5868
more details can be found [here](https://github.com/elasticio/mssql-component/blob/master/lib/actions/insert.js#L25)
5969

60-
## Authentication
61-
62-
You may use following URI:
63-
64-
```
65-
mssql://username:password@localhost:1433/database?encrypt=true
66-
```
67-
68-
other types of configuration parameters are also supported, more infromation and samples you can find [here](https://www.npmjs.com/package/mssql#formats)
70+
After prepared statement is created and filled with parameters, query will be executed in scope of message body, so that ``msg.body.foo`` will be used to fill ``@foo`` parameter on prepared statement.
6971

7072
## Known issues
7173

0 commit comments

Comments
 (0)