Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
2.1.1 - Any replacement for mongo::DBClientWithCommands::n sGetCollection?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
sptrakesh  
View profile  
 More options May 13 2012, 1:58 pm
From: sptrakesh <rakesh.vidyadha...@gmail.com>
Date: Sun, 13 May 2012 10:58:46 -0700 (PDT)
Local: Sun, May 13 2012 1:58 pm
Subject: 2.1.1 - Any replacement for mongo::DBClientWithCommands::nsGetCollec tion?
Hello,

I noticed that the C++ API has removed the nsGetCollection method from
DBClientWithCommands.  I did not see any obvious replacement for it.
Is there any, or do I have to parse the full name and replicate what
the built in function was doing?

Thanks
Rakesh


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eliot Horowitz  
View profile  
 More options May 14 2012, 1:26 am
From: Eliot Horowitz <el...@10gen.com>
Date: Mon, 14 May 2012 01:26:22 -0400
Local: Mon, May 14 2012 1:26 am
Subject: Re: [mongodb-user] 2.1.1 - Any replacement for mongo::DBClientWithCommands::nsGetCollec tion?
You can do

NamespaceString( "foo.bar" ).coll


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sptrakesh  
View profile  
 More options May 14 2012, 10:20 am
From: sptrakesh <rakesh.vidyadha...@gmail.com>
Date: Mon, 14 May 2012 07:20:29 -0700 (PDT)
Local: Mon, May 14 2012 10:20 am
Subject: Re: 2.1.1 - Any replacement for mongo::DBClientWithCommands::nsGetCollec tion?

On May 14, 12:26 am, Eliot Horowitz <el...@10gen.com> wrote:

> You can do

> NamespaceString( "foo.bar" ).coll

Thanks, this is more elegant than the old way.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »