mirror of https://gitee.com/bigwinds/arangodb
const collection CRUD methods
This commit is contained in:
parent
064c51c731
commit
235f006a27
|
@ -1216,7 +1216,7 @@ RocksDBOperationResult RocksDBCollection::updateDocument(
|
||||||
|
|
||||||
Result RocksDBCollection::lookupDocumentToken(transaction::Methods* trx,
|
Result RocksDBCollection::lookupDocumentToken(transaction::Methods* trx,
|
||||||
arangodb::StringRef key,
|
arangodb::StringRef key,
|
||||||
RocksDBToken& outToken) {
|
RocksDBToken& outToken) const {
|
||||||
TRI_ASSERT(_objectId != 0);
|
TRI_ASSERT(_objectId != 0);
|
||||||
|
|
||||||
// TODO fix as soon as we got a real primary index
|
// TODO fix as soon as we got a real primary index
|
||||||
|
|
|
@ -180,7 +180,7 @@ class RocksDBCollection final : public PhysicalCollection {
|
||||||
uint64_t objectId() const { return _objectId; }
|
uint64_t objectId() const { return _objectId; }
|
||||||
|
|
||||||
Result lookupDocumentToken(transaction::Methods* trx, arangodb::StringRef key,
|
Result lookupDocumentToken(transaction::Methods* trx, arangodb::StringRef key,
|
||||||
RocksDBToken& token);
|
RocksDBToken& token) const;
|
||||||
|
|
||||||
int beginWriteTimed(bool useDeadlockDetector, double timeout = 0.0);
|
int beginWriteTimed(bool useDeadlockDetector, double timeout = 0.0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue