MCPcopy Create free account
hub / github.com/MariaDB/server / CollInsert

Method CollInsert

storage/connect/Mongo2Interface.java:465–477  ·  view source on GitHub ↗
(Object dob)

Source from the content-addressed store, hash-verified

463 } // end of ArrayAdd
464
465 public boolean CollInsert(Object dob) {
466 try {
467 coll.insert((BasicDBObject) dob);
468 } catch (MongoException me) {
469 SetErrmsg(me);
470 return true;
471 } catch (Exception ex) {
472 SetErrmsg(ex);
473 return true;
474 } // end try/catch
475
476 return false;
477 } // end of CollInsert
478
479 public long CollUpdate(Object upd) {
480 long n = -1;

Callers 2

mainMethod · 0.45
mainMethod · 0.45

Calls 2

SetErrmsgMethod · 0.95
insertMethod · 0.45

Tested by 2

mainMethod · 0.36
mainMethod · 0.36