Nimrod renamed to Nim

This commit is contained in:
Araq 2014-08-28 09:59:26 +02:00
commit 4523b29d7a
23 changed files with 90 additions and 90 deletions

View file

@ -186,7 +186,7 @@ proc open*(connection, user, password, database: string): TDbConn {.
##
## Example:
##
## .. code-block:: nimrod
## .. code-block:: nim
##
## con = Open("", "", "", "host=localhost port=5432 dbname=mydb")
##
@ -194,7 +194,7 @@ proc open*(connection, user, password, database: string): TDbConn {.
## for more information.
##
## Note that the connection parameter is not used but exists to maintain
## the nimrod db api.
## the nim db api.
result = PQsetdbLogin(nil, nil, nil, nil, database, user, password)
if PQStatus(result) != CONNECTION_OK: dbError(result) # result = nil