sql.QueryValue

From Garry's Mod
Jump to: navigation, search
 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