/** * <pre> * { $insert : { path: value } } * </pre> */ public static AppendInsert insert(String field, AppendInsertLiteral value) { return new AppendInsert("$insert", field).more(value); }
/** * <pre> * { $append : { path: value } } * </pre> */ public static AppendInsert append(String field, AppendInsertLiteral value) { return new AppendInsert("$append", field).more(value); }