Metodo QSConnectionSelect
|
Effettua una query e restituisce il risultato sotto forma di tabella lua
Namespace:
QSAdoNet
Assembly:
QSAdoNet (in QSAdoNet.dll) Versione: 1.0.0.0 (1.0.0.0)
Sintassi public LuaTable Select(
string tablename,
LuaTable fields,
LuaTable where,
LuaTable orderby,
bool desc
)
Public Function Select (
tablename As String,
fields As LuaTable,
where As LuaTable,
orderby As LuaTable,
desc As Boolean
) As LuaTable
public:
LuaTable^ Select(
String^ tablename,
LuaTable^ fields,
LuaTable^ where,
LuaTable^ orderby,
bool desc
)
member Select :
tablename : string *
fields : LuaTable *
where : LuaTable *
orderby : LuaTable *
desc : bool -> LuaTable
Parametri
- tablename
- Tipo: SystemString
Nome della tabella - fields
- Tipo: LuaTable
Tabella LUA : {"DEDID","DEDREV",etc...} or null = * - where
- Tipo: LuaTable
Tabella LUA : {["DEDID"] = "pippo", ["REV"] = 0} or null - orderby
- Tipo: LuaTable
Tabella LUA : {"DEDID","DEDREV"} or null - desc
- Tipo: SystemBoolean
true/false
Valore di ritorno
Tipo:
LuaTableVedi anche