db.Column.flags doesn't work properly??
hi, i've tried to program a plugin in LUA, but it seems to me like there is a problem with db.Column.flags. I expected it to return a list of strings, instead it returns a list of userdata. Which means i can not compare the flags with strings like i want:
local i, flag
for i=1, getV.getn(catalog.schemata[x].tables[y].columns[z].flags) do
flag = catalog.schemata[x].tables[y].columns[z].flags
if ( flag == "UNSIGNED" ) do
-- do something
end
end
Am i correct, or do i have to convert it (but how)? I think in the documentation it's mentioned to be a list of strings. But i'm unsure - so i didn't open a Bug report.
Subject
Views
Written By
Posted
db.Column.flags doesn't work properly??
5456
August 03, 2008 03:47AM
3712
August 04, 2008 07:31AM
3371
August 05, 2008 09:52AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.