Garry's Mod Wiki

Revision Difference

sql.QueryValue#528748

<function name="QueryValue" parent="sql" type="libraryfunc"> <description>Performs the query like <page>sql.QueryRow</page>, but returns the first value found.</description> <realm>Shared and Menu</realm> <file line="68-L85">lua/includes/util/sql.lua</file>⤶ <args> <arg name="query" type="string">The input query.</arg> </args> <rets> <ret name="" type="any">The returned value; the engine automatically converts numerical output to Lua numbers.</ret> </rets> </function>