sql/QueryValue

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

Latest revision as of 22:02, 9 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 values.
Personal tools
Navigation