Menu

#16 documentation lies about one-column return

open
nobody
None
5
2004-08-02
2004-08-02
Anonymous
No

The docs says:
If the command returns a single column result set, the returned
string is a straightforward list or an empty string, if nothing is
found. If the command returns a multiple column result set, a tcl
list of lists is returned, where a sublist represents a single row
of the result. If the SQL-clause does not return a result set (as

But atempting to get one-column result contained space
in MS Access and Postgres clearly shows me, that
it always returns proper Tcl list of lists:
try
database db mycreatedtestdb
db {SELECT 'abc def'}

Discussion


Log in to post a comment.

Auth0 Logo