@microsoft/teamsfx 0.4.1 → 0.4.2-alpha.01a113d2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/index.esm2017.js +163 -377
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm2017.mjs +32 -11
- package/dist/index.esm2017.mjs.map +1 -1
- package/dist/index.esm5.js +212 -485
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +32 -11
- package/dist/index.node.cjs.js.map +1 -1
- package/package.json +9 -7
- package/types/teamsfx.d.ts +8 -2
package/README.md
CHANGED
|
@@ -205,7 +205,10 @@ Apart from `tedious`, you can also compose connection config of other SQL librar
|
|
|
205
205
|
```ts
|
|
206
206
|
loadConfiguration();
|
|
207
207
|
const sqlConnectConfig = new DefaultTediousConnectionConfiguration();
|
|
208
|
+
// if there's only one SQL database
|
|
208
209
|
const config = await sqlConnectConfig.getConfig();
|
|
210
|
+
// if there are multiple SQL databases
|
|
211
|
+
const config2 = await sqlConnectionConfig.getConfig("your database name");
|
|
209
212
|
const connection = new Connection(config);
|
|
210
213
|
connection.on("connect", (error) => {
|
|
211
214
|
if (error) {
|