hexstr2ObjectId static method
将HexString转换为ObjectId,失败返回emptyObjectId
Implementation
static ObjectId hexstr2ObjectId(String hexstr) => parseObjectId(hexstr);
将HexString转换为ObjectId,失败返回emptyObjectId
static ObjectId hexstr2ObjectId(String hexstr) => parseObjectId(hexstr);