5 results found
Provide interfaces for driver classes that can be used to mock the database for unit tests. Along the lines of what AWS does for its services:
The Extended JSON encoder does not support encoding arrays and slices by themselves. The decoder does support decoding JSON arrays into slices. Add support for encoding arrays and slices to a JSON array.2 votes
According to https://jira.mongodb.org/browse/GODRIVER-914 the connection string is only meant to specify the auth database. However, many of the official MongoDB drivers and tools also use the database specified in the connection string as the default if commands are run without specifying a database name.
The Go driver should either mirror this behaviour found in other drivers, or a parameter should be added to the connection string to allow a default database to be explicitly defined.2 votes
It would be great if driver can auto update createdat and updatedat timestamp/date1 vote
- Don't see your idea?