sql-mongo-converter
v1.0.0
Published
Convert string with a query in a normal query for MongoDB
Downloads
4
Readme
Benchmark
Counts how much time, memory, cpu spent on specific function.
Additional outputs:
- Average error per function.
- Difference between best time function and current one.
Script
import convert to your main file
import { convert } from 'Converter'
Start command
const results = convert(databaseName, query, dbHost)
databaseName
: 'users'
query
: 'select * from users where id > 1'
dbHost
: 'mongodb://localhost:27017/'