(datastore sgbucket.DataStore, key string, body []byte)
| 901 | } |
| 902 | |
| 903 | func (doc *Document) persistRevisionBody(datastore sgbucket.DataStore, key string, body []byte) error { |
| 904 | _, err := datastore.AddRaw(key, 0, body) |
| 905 | return err |
| 906 | } |
| 907 | |
| 908 | // Move any large revision bodies to external document storage |
| 909 | func (doc *Document) migrateRevisionBodies(ctx context.Context, dataStore base.DataStore) error { |
no test coverage detected