sql/QueryValue

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (typo)
(Undo revision 32588 by DesignFlaw (talk))
 
Line 13: Line 13:
 
{{Ret
 
{{Ret
 
|type=any
 
|type=any
|desc=The returned value; the engine automatically converts numerical output to Lua values.
+
|desc=The returned value; the engine automatically converts numerical output to Lua numbers.
 
}}
 
}}

Latest revision as of 14:39, 30 August 2019

 sql.QueryValue( )

Description

Performs the query like sql.QueryRow, but returns the first value found.

Arguments

string query

The input query.

Returns

any

The returned value; the engine automatically converts numerical output to Lua numbers.
Personal tools
Navigation