GetCollectionID returns a collectionID. If couchbase server does not return collections, it will return base.DefaultCollectionID, like the default collection for a Couchbase Server that does support collections.
()
| 213 | |
| 214 | // GetCollectionID returns a collectionID. If couchbase server does not return collections, it will return base.DefaultCollectionID, like the default collection for a Couchbase Server that does support collections. |
| 215 | func (c *DatabaseCollection) GetCollectionID() uint32 { |
| 216 | return c.dataStore.GetCollectionID() |
| 217 | } |
| 218 | |
| 219 | // GetRevisionCacheForTest allow accessing a copy of revision cache. |
| 220 | func (c *DatabaseCollection) GetRevisionCacheForTest() *collectionRevisionCache { |
no outgoing calls