[GODRIVER-160] Write implementation of the bson.ArrayConstructor Created: 14/Dec/17  Updated: 28/Oct/23  Resolved: 16/Jan/18

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.0.1

Type: New Feature Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Samuel Rossi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on GODRIVER-159 Write implementation of the bson.Cons... Closed
Epic Link: GODRIVER New BSON

 Description   

Implement the missing methods of the bson.ArrayConstructor type and add tests for each method. The methods should set the key to be "0", the bson.Array type will handle updating this value to the correct index.

The remaining methods are:

  • Double
  • String
  • Document
  • Array
  • Binary
  • ObjectID
  • Boolean
  • DateTime
  • Null
  • Regex
  • DBPointer
  • Javascript
  • Symbol
  • CodeWithScope
  • Int32
  • Uint64
  • Int64
  • Decimal128
  • MinKey
  • MaxKey


 Comments   
Comment by Samuel Rossi (Inactive) [ 03/Jan/18 ]

The implementation is finished and tests are passing. However, the implementation depends on functionality in the document constructor, so code review is deferred until GODRIVER-159 lands.

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