PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 6th of June, 2015

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:01:55] <ChALkeR> I don't see any announcements on that one.
[00:05:46] <cheeser> ChALkeR: https://groups.google.com/forum/#!topic/mongodb-user/Ae4BDpg-0Z8
[00:07:47] <ChALkeR> cheeser: For that type of a relese, an almost hidden announcement in google groups that no one sees doesn't look fit.
[00:08:00] <ChALkeR> *release
[00:08:10] <ChALkeR> And it even does not describe the issue.
[00:09:26] <cheeser> ChALkeR: iirc, it was tweeted as well. but that mailing is the official users mailing list. what more do you want?
[00:10:41] <ChALkeR> cheeser: Ok, I understand your point.
[00:11:44] <cheeser> there isa ctually a -announce list but hardly anyone subscribes to it so announcements get posted to -users anyway
[00:12:19] <ChALkeR> I found that one before I asked about it, it just doesn't describe the problem.
[00:45:51] <tsyd> Is there a way to do this in a single query: get count of documents that match query and return the first 10 documents of the query result?
[00:47:14] <cheeser> no
[00:59:38] <StephenLynx> but you could reuse the query block to save some little code.
[00:59:57] <StephenLynx> both on count and on the find.
[01:01:29] <cheeser> you could even "reuse" the cursor returned from find()
[04:07:03] <ianseyer> hi all. using pymongo as my driver. is there a way to call distinct() on a cursor, and have it return the entire document, instead of just the field that is distinct?
[04:07:10] <ianseyer> short of making a mess of queries.
[04:25:32] <hypermist> how do i install mongodb 2.6.x
[10:05:10] <fayimora> is this the right was to define embedding in mongoose? https://gist.github.com/fayimora/94213d1322ad4a8d66bd
[10:35:24] <boboc> guys i'm new to mongodb, how can i write a query where a city has the highest population? i have city and population fields
[13:42:37] <StevePerkins> How do you write a query that will print out JUST a particular field, without the enclosing JSON curly braces, double-quotes, etc?
[13:59:55] <StephenLynx> you can't.
[14:00:03] <StephenLynx> you will ALWAYS have at least one document.
[14:00:16] <StephenLynx> you will have to indicate the document's field at least.
[14:00:40] <crised_> When we say document oriented database, we mean is more oriented to write schema less data or more oriented to text?
[14:01:04] <StephenLynx> oriented to objects with fields.
[14:01:23] <StephenLynx> in theory, a document oriented db could be relational and enforce a schema.
[14:01:48] <StephenLynx> {a:1} = document
[14:02:03] <crised_> StephenLynx: what's the difference between objects with fields and elements with attributes?
[14:02:18] <StephenLynx> an attribute cannot be a document.
[14:02:28] <StephenLynx> a document can hold other documents.
[14:13:43] <crised_> StephenLynx: I see
[15:22:36] <ianseyer> hi all. using pymongo as my driver. is there a way to call distinct() on a cursor, and have it return the entire document, instead of just the field that is distinct?
[15:22:39] <ianseyer> short of making a mess of queries.
[18:55:36] <roelof> anyone know why I get here a sockets closed error code : http://lpaste.net/133995 and how to solve it
[21:38:01] <dimon222> make sure your server is reachable
[21:38:28] <dimon222> actually too late, you already left, rofl