File tree Expand file tree Collapse file tree 7 files changed +7
-8
lines changed
Expand file tree Collapse file tree 7 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 3636 },
3737 "dependencies" : {
3838 "mongodb" : " ^6.1.0"
39- },
40- "type" : " module"
41- }
39+ }
40+ }
File renamed without changes.
Original file line number Diff line number Diff line change 11import { MongoClient } from "mongodb" ;
22
3- import { mappings } from "./config/mapping.js " ;
4- import { parseQuery } from "./utils/parser.js " ;
5- import { connect } from "./utils/database.js " ;
6- import { SqlToNoSqlType } from "./types/index.js " ;
3+ import { mappings } from "./config/mapping.mjs " ;
4+ import { parseQuery } from "./utils/parser.mjs " ;
5+ import { connect } from "./utils/database.mjs " ;
6+ import { SqlToNoSqlType } from "./types/index.mjs " ;
77
88export class SqlToNoSql {
99 client : MongoClient | undefined ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 11// select * from users where id = 1;
22
3- import { ParsedSqlType } from "types/sql" ;
3+ import { ParsedSqlType } from "types/sql.mjs " ;
44
55export const parseQuery = ( query : string ) : ParsedSqlType => {
66 const parsedQuery : ParsedSqlType = {
You can’t perform that action at this time.
0 commit comments