Menu

#237 Python documentation mentions VARNCHAR instead of NVARCHAR

open
nobody
None
5
2012-09-21
2012-09-21
Jira Trac
No

The documentation available here: http://packages.python.org/CUBRID-Python/

Mentions VARNCHAR instead of NVARCHAR. In all CUBRID manuals there is nowhere mentioned the VARNCHAR field type.

There are various mistakes in the comments available for functions like for example for prepare function in _cubrid:
This function is sort of API which represents SQL statements compiled previously.
You can barely understand anything from that even if you know what prepare function usually does.

Also, another incorrect one is for execute:
execute(option=..., max_col_size=...)
execute the prepared SQL statement, which is executing prepare() and bind_param()/bind_lob().

It should be something like executes the prepared SQL statement generated from the previous prepare() and bind_param()/bind_lob() statements.

It should include an example also on how to use it with various parameters.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.