(row *sgbucket.ViewRow)
| 344 | } |
| 345 | |
| 346 | func stripSyncProperty(row *sgbucket.ViewRow) { |
| 347 | if doc := row.Doc; doc != nil { |
| 348 | delete((*doc).(map[string]interface{}), base.SyncPropertyName) |
| 349 | } |
| 350 | } |
| 351 | |
| 352 | func InitializeViews(ctx context.Context, ds sgbucket.DataStore) error { |
| 353 | collection, isCBServerCollection := ds.(*base.Collection) |
no outgoing calls
no test coverage detected