Skip to content

Releases: qiniu/qmgo

v0.7.5

27 Sep 08:35
13372c8
Compare
Choose a tag to compare
  • Add API: Find().Apply()
  • Add copyright

v0.7.4

19 Sep 15:02
44d60f4
Compare
Choose a tag to compare
  • Support new options to indexes operation
	Unique             bool     // Prevent two documents from having the same index key
	Background         bool     // Build index in background and return immediately
	Sparse             bool     // Only index documents containing the Key fields
	ExpireAfterSeconds *int32   // Periodically delete docs with indexed time.Time older than that.
  • Introduce new API CreateOneIndex and CreateIndexes,
  • Deprecated EnsureIndexes

v0.7.3

19 Sep 09:47
7ff5154
Compare
Choose a tag to compare

UpdateWithDocument rename to ReplaceOne

v0.7.2

19 Sep 09:16
32b96fd
Compare
Choose a tag to compare

Upsert support fields

v0.7.1

13 Sep 10:04
552fdf3
Compare
Choose a tag to compare
  • New API UpdateWithDocument
  • Support automatically default and custom fields
  • Hooks without options in InsertOneInsertMany and UpdateWithDocument

v0.7.0

31 Aug 15:08
e55f06d
Compare
Choose a tag to compare
  • Support Hooks
  • Support all options when connect
  • Support InsertMany([]UserType)

v0.6.2

23 Aug 13:32
5e57d3c
Compare
Choose a tag to compare

predefine operator keys

v0.6.1

21 Aug 01:49
b9fbb6f
Compare
Choose a tag to compare
  • Connect database with auth
  • Support dropindexes

v0.6.0

17 Aug 12:35
bf774f5
Compare
Choose a tag to compare

In this release, qmgo support

  • Transactions
  • Pool monitor、minPoolSize
  • Readpref

v0.5.3

12 Aug 13:45
7e002eb
Compare
Choose a tag to compare

support NewObjectID()、RemoveId()、IsErrNoDocuments()