How to do MongoDB Java CRUD Operations | Create| Read | Update | Delete

How to do MongoDB Java CRUD Operations | Create| Read | Update | Delete

Simplifying Tech

3 года назад

18,117 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mr. Marcial Glori
Mr. Marcial Glori - 29.03.2022 16:54

How do you save date using java to mongodb? Like birthday, expiry. I want date as a type not string to be able to sort like expiry or the oldest customer or youngest customer.

Ответить
brainiac marco
brainiac marco - 03.01.2022 22:19

Sir, Eclipse says to MongoClient( "localhost" , 27017 ); red highlighted
"Cannot instantiate the type MongoClient"



// Creating a Mongo client
// Creating a Mongo client
MongoClient mongoClient = new MongoClient( "localhost" , 27017 );
System.out.println("Created Mongo Connection successfully"); );

Ответить
sushciti pune
sushciti pune - 24.09.2020 12:08

Helpful content

Ответить