This commit is contained in:
dwight
2009-02-08 21:18:38 -05:00
parent cf65d86131
commit bc55e5a63b

View File

@@ -9,6 +9,8 @@ void run() {
DBClientConnection c;
c.connect("localhost");
cout << "connected ok" << endl;
BSONObj p = BSON( "name" << "Joe" << "age" << 33 );
c.insert("tutorial.persons", p);
}
int main() {