sqlite WIP

This commit is contained in:
Jan Prochazka
2021-04-25 21:53:27 +02:00
parent 3c089a5b81
commit caa2d22dbd
6 changed files with 42 additions and 27 deletions

View File

@@ -8,14 +8,11 @@ class Analyser extends DatabaseAnalyser {
async _runAnalysis() {
const collections = await this.pool.__getDatabase().listCollections().toArray();
const res = this.mergeAnalyseResult(
{
collections: collections.map((x) => ({
pureName: x.name,
})),
},
(x) => x.pureName
);
const res = this.mergeAnalyseResult({
collections: collections.map((x) => ({
pureName: x.name,
})),
});
// console.log('MERGED', res);
return res;
}