diff options
author | Araq <rumpf_a@web.de> | 2012-11-19 00:16:25 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-11-19 00:16:25 +0100 |
commit | 14fc0631d7cfa7436b9703fd8d08235b2b5929b7 (patch) | |
tree | 2bf9c695b6b442bc33aa6e2eebb436e8bd986f15 /lib/impure/db_mongo.nim | |
parent | db80038c378f4b63845cb1b035f2b3dfdd25c2fc (diff) | |
download | Nim-14fc0631d7cfa7436b9703fd8d08235b2b5929b7.tar.gz |
fixes #250
Diffstat (limited to 'lib/impure/db_mongo.nim')
-rw-r--r-- | lib/impure/db_mongo.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/impure/db_mongo.nim b/lib/impure/db_mongo.nim index b7fb325f9..b11db78f8 100644 --- a/lib/impure/db_mongo.nim +++ b/lib/impure/db_mongo.nim @@ -34,8 +34,8 @@ type TDbConn* = TMongo ## a database connection; alias for ``TMongo`` FDb* = object of FIO ## effect that denotes a database operation - FReadDb* = object of FReadIO ## effect that denotes a read operation - FWriteDb* = object of FWriteIO ## effect that denotes a write operation + FReadDb* = object of FDB ## effect that denotes a read operation + FWriteDb* = object of FDB ## effect that denotes a write operation proc dbError*(db: TDbConn, msg: string) {.noreturn.} = ## raises an EDb exception with message `msg`. |