Erfan Safari

Results 111 comments of Erfan Safari

```ts import { MongoClient } from "npm:mongodb"; const client = new MongoClient("mongodb://localhost:27017/test"); await client.connect(); console.log("Connected"); console.log(await client.db().collection("test").findOne()); ``` cmd: ```sh deno run -A --unstable main.ts ``` deno 1.25.4

@steverandy please report it on fresh github repo. Thanks Not related to this issue

@alexbevi Thanks for reaching out to us! As far as I know, MongoDB's official driver for Node.js only ships with CJS modules. So, you'd need to use Deno's npm compatibility...

@AfMyte I have never used AWS DocumentDB. You may test `npm:mongodb` package with Deno npm compat mode.

and I guess this will break the module in other runtime like deno. because they don't have such a `module` concept like what node does.

flatstr is a deprecated module. you don't need it for newer v8 engines. fastify framework was used it before but they decided to no use it anymore

@GCSBOSS Hey, thanks for reaching out Do have any idea of how we can implement it? is there any api?

@juratori Can you send me the docs for `createIndexes` api route? I can't find anything related here https://www.mongodb.com/docs/atlas/api/data-api-resources/ It may works, but it's not documented anywhere

@wsxiaoys It would be great to have Magicoder being listed here: https://leaderboard.tabbyml.com/