From 70033e3917f523f7dde5042f0d3291e1e8877fab Mon Sep 17 00:00:00 2001 From: NeroStarx <35573892+NeroStarx@users.noreply.github.com> Date: Tue, 15 Dec 2020 04:14:05 +0100 Subject: [PATCH] Update README.md (#149) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8cc1c56b..1a110bd8 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ import { MongoClient, Bson } from "https://deno.land/x/mongo@v1.0.0/mod.ts"; const client = new MongoClient(); -client.connectWithUri("mongodb://localhost:27017"); +client.connect("mongodb://localhost:27017"); // Defining schema interface interface UserSchema {