mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-21 11:10:38 +00:00
fix: ethdb-doc (#8886)
This commit is contained in:
parent
6a70aaaaf2
commit
c5f4c761e0
@ -115,7 +115,7 @@ return err
|
||||
- method Begin DOESN'T create new TxDb object, it means this object can be passed into other objects by pointer,
|
||||
and high-level app code can start/commit transactions when it needs without re-creating all objects which holds
|
||||
TxDb pointer.
|
||||
- This is reason why txDb.CommitAndBegin() method works: inside it creating new transaction object, pinter to TxDb stays
|
||||
- This is reason why txDb.CommitAndBegin() method works: inside it creating new transaction object, pointer to TxDb stays
|
||||
valid.
|
||||
|
||||
## How to dump/load table
|
||||
|
@ -127,7 +127,7 @@ for k, v, err := c.First(); k != nil; k, v, err = c.Next() {
|
||||
- method Begin DOESN'T create new TxDb object, it means this object can be passed into other objects by pointer,
|
||||
and high-level app code can start/commit transactions when it needs without re-creating all objects which holds
|
||||
TxDb pointer.
|
||||
- This is the reason why txDb.CommitAndBegin() method works: inside it creating new transaction object, pinter to TxDb stays valid.
|
||||
- This is the reason why txDb.CommitAndBegin() method works: inside it creating new transaction object, pointer to TxDb stays valid.
|
||||
|
||||
## How to dump/load table
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user