[DOCS-853] add method toArray() Created: 05/Dec/12  Updated: 09/Jan/13  Resolved: 07/Jan/13

Status: Closed
Project: Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: v1.1

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 11 years, 6 weeks, 2 days ago

 Description   

DBQuery.prototype.toArray = function(){
if ( this._arr )
return this._arr;

var a = [];
while ( this.hasNext() )
a.push( this.next() );
this._arr = a;
return a;
}



 Comments   
Comment by auto [ 07/Jan/13 ]

Author:

{u'date': u'2013-01-07T21:46:39Z', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-853
Branch: master
https://github.com/mongodb/docs/commit/21ea52b11ad795fcf2079f7e6c7568adc87ff85a

Comment by auto [ 07/Jan/13 ]

Author:

{u'date': u'2013-01-07T21:19:50Z', u'email': u'kay.kim@10gen.com', u'name': u'kay'}

Message: DOCS-853 use the ~ expression
Branch: master
https://github.com/mongodb/docs/commit/d5bfde970324d0b334ee6002416cc6e9dec73e17

Comment by auto [ 07/Jan/13 ]

Author:

{u'date': u'2013-01-07T20:14:43Z', u'email': u'kay.kim@10gen.com', u'name': u'kay'}

Message: DOCS-853 shorten sentences and change variable name
Branch: master
https://github.com/mongodb/docs/commit/acad3095e8e380040c656b94e170bcccca4b4f91

Comment by auto [ 07/Jan/13 ]

Author:

{u'date': u'2013-01-07T20:08:46Z', u'email': u'kay.kim@10gen.com', u'name': u'kay'}

Message: DOCS-853 shorten sentences and change variable name
Branch: master
https://github.com/mongodb/docs/commit/7a5444f58904a6f4bfc979cf6dfb2ea085299f21

Comment by auto [ 07/Jan/13 ]

Author:

{u'date': u'2013-01-07T18:48:39Z', u'email': u'kay.kim@10gen.com', u'name': u'kay'}

Message: DOCS-853 toArray method
Branch: master
https://github.com/mongodb/docs/commit/b5c42f9ef249beef48419a9421f981371c95a1c6

Generated at Thu Feb 08 07:39:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.