Get the App
SLTechnology News&Howtos  ›  Database  › 

MongoDB Note 8-Vernier

Shulou Source: shulou.com Published: 2022-06-01 06:17:12 10月03日 Update

Shell statement: var allpersons = db.persons.find ()

While (allpersons.hasNext ()) {

Var elemt = allpersons.next ()

Print (elemt.name)

}

Cursor destruction condition

A message from the client told it to destroy.

Cursor iteration completed

The default cursor will be clear for more than 10 minutes.

Query snapshot needs to be further explored

Tags: Cursor clear client client Snapshot condition message statement enter one query iteration Note Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia vpn Huawei Microsoft MariaDB