title: @azure/cosmos.js - get database synchronously
body: <p>I'm using node.js SDK - @azure/cosmos.js to retrieve a database synchronously. The documentation on usage of SDK(<a href="https://www.npmjs.com/package/@azure/cosmos/v/2.0.0-3" rel="nofollow noreferrer">https://www.npmjs.com/package/@azure/cosmos/v/2.0.0-3</a>) - </p>
  
  <pre><code>const database = await client.database(databaseId);
  </code></pre>
  
  <p>await can only be used in async methods. How can I retrieve database in synchronous method?</p>