@microsoft/teamsfx 0.4.1 → 0.4.2-alpha.dc2b9a55.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 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) {