sql/QueryValue

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
m (Also menu state)
Line 3: Line 3:
 
|Parent=sql
 
|Parent=sql
 
|Description=Performs the query like {{LibraryFunction|sql|Query}}, but returns the first value found.
 
|Description=Performs the query like {{LibraryFunction|sql|Query}}, but returns the first value found.
|Realm=Shared
+
|Realm=Shared and Menu
 
|IsClass=No
 
|IsClass=No
 
}}
 
}}

Revision as of 03:38, 24 July 2016

 sql.QueryValue( )

Description

Performs the query like sql.Query, 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