| MongoDBUtilityGet Method (String) |
Gets a document from the database with the specified id within the default collection.
Namespace:
Galactic.NoSql.MongoDB
Assembly:
Galactic.NoSql.MongoDB (in Galactic.NoSql.MongoDB.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public override Object Get(
string id
)
Public Overrides Function Get (
id As String
) As Object
public:
virtual Object^ Get(
String^ id
) override
abstract Get :
id : string -> Object
override Get :
id : string -> Object
Parameters
- id
- Type: SystemString
The id of the document to retrieve.
Return Value
Type:
ObjectThe document with the specified id, or null if there was an error, or the id does not exist.
See Also