Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8858093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:44:57+00:00 2026-06-14T14:44:57+00:00

when i check for specific user in Meteor.users collection i get an object with

  • 0

when i check for specific user in Meteor.users collection i get an object with a lot of imformation that i do not need

var checkResults = Meteor.users.find({username: "aaa"});
    (checkResults) ? Meteor._debug(checkResults) : Meteor._debug("nothing");

Results :

collection
    Object { docs={...}, next_qid=   3 , queries={...}, more...}

current_snapshot
     null

docs
    Object { af8e9611-62fe-4024-81d4-1365e02992bb={...}, 5ba9f289-7fa6-4dd0-ae30-802f0c4e3138={...}}

             5ba9f289-7fa6-4dd0-ae30-802f0c4e3138 

    Object { _id= "5ba9f289-7fa6-4dd0-ae30-802f0c4e3138", username= "aaa" }

             af8e9611-62fe-4024-81d4-1365e02992bb

    Object { _id="af8e9611-62fe-4024-81d4-1365e02992bb", emails=[1], username= "ddd" }

next_qid
    3


paused
    false


queries
    Object { 1={...}, 2={...}}

_modifyAndNotify
    function()

find
    function()

findOne
    function()

insert
    function()

pauseObservers
    function()

remove
    function()

restore
    function()

resumeObservers
    function()

snapshot
    function()

update
    function()

__proto__
    Object { find=function(), findOne=function(), insert=function(), more...}

cursor_pos
    0


db_objects
    null


limit
    undefined


reactive
    true


skip
    undefined


sort_f
    null


_getRawObjects
    function()

_markAsReactive
    function()

count
    function()

fetch
    function()

forEach
    function()

map
    function()

observe
    function()

rewind
    function()

selector_f
    function()

__proto__
    Object { rewind=function(), forEach=function(), map=function(), more...}

I can access them by :

  checkResults.collection.docs[x].username 

but its not practical since i need to do process the results

is there anyway to get a precise object for the query without the extra info?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:44:58+00:00Added an answer on June 14, 2026 at 2:44 pm

    Meteor.users.findOne({username: 'aaa'}) returns the first user document (in this case, it should be unique) if it exists and returns undefined otherwise.

    If you wanted to retrieve everything that matches a query without the extra cursor information, you could do something like Meteor.users.find({username: 'aaa'}).fetch()

    See http://docs.meteor.com/#findone and http://docs.meteor.com#find

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have class grades that I need to check if a specific grade is
I need to check if a specific user has permissions to create a database
is there some pretty way to check if some specific user (not the one
So I want to check if the user is in specific county $ip =
I need to check specific positions in an NSArray to see if they have
On a daily basis, a person needs to check that specific workbooks have been
I need to check if a specific login already exists on the SQL Server,
Is there a way in java to check if a specific object is in
Quick Wordpress question. Is it possible to check against a specific category, so not
I'm trying to check and see if a specific user has permissions on a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.