Method
DocAdd
(Object bdc, String key, Object val, int json)
Source from the content-addressed store, hash-verified
| 524 | } // end of MakeDocument |
| 525 | |
| 526 | public boolean DocAdd(Object bdc, String key, Object val, int json) { |
| 527 | try { |
| 528 | ((BsonDocument) bdc).append(key, ObjToBson(val, json)); |
| 529 | } catch (MongoException me) { |
| 530 | SetErrmsg(me); |
| 531 | return true; |
| 532 | } // end try/catch |
| 533 | |
| 534 | return false; |
| 535 | } // end of DocAdd |
| 536 | |
| 537 | public Object MakeArray() { |
| 538 | return new BsonArray(); |
Callers
nothing calls this directly
Tested by
no test coverage detected