show instance for AccessMode
This commit is contained in:
parent
d506011cd1
commit
6ef19663cf
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ data AccessMode =
|
||||||
ReadStaleOk -- ^ Read-only action, reading stale data from a slave is OK.
|
ReadStaleOk -- ^ Read-only action, reading stale data from a slave is OK.
|
||||||
| UnconfirmedWrites -- ^ Read-write action, slave not OK, every write is fire & forget.
|
| UnconfirmedWrites -- ^ Read-write action, slave not OK, every write is fire & forget.
|
||||||
| ConfirmWrites GetLastError -- ^ Read-write action, slave not OK, every write is confirmed with getLastError.
|
| ConfirmWrites GetLastError -- ^ Read-write action, slave not OK, every write is confirmed with getLastError.
|
||||||
|
deriving Show
|
||||||
|
|
||||||
type GetLastError = Document
|
type GetLastError = Document
|
||||||
-- ^ Parameters for getLastError command. For example @[\"w\" =: 2]@ tells the server to wait for the write to reach at least two servers in replica set before acknowledging. See <http://www.mongodb.org/display/DOCS/Last+Error+Commands> for more options.
|
-- ^ Parameters for getLastError command. For example @[\"w\" =: 2]@ tells the server to wait for the write to reach at least two servers in replica set before acknowledging. See <http://www.mongodb.org/display/DOCS/Last+Error+Commands> for more options.
|
||||||
|
|
Loading…
Reference in a new issue