ng-kotlin" theme="idea">collection(database.defaultCollection)</code></pre><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div><p class="paragraph">Create a database as a data source.</p><span class="kdoc-tag"><h4 class="">Return</h4><p class="paragraph"><code class="lang-kotlin">DataSource</code> object.</p></span><h4 class="">Parameters</h4><div cl