Garry's Mod Wiki

Revision Difference

sql.QueryValue#512882

<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>⤶ <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>⤶ ⤶