sql.Query
From GMod Wiki
Revision as of 11:24, 14 August 2010 by DarKSunrise (Talk | contribs)
Function | |
Syntax |
sql.Query( String query ) Where is this used? |
Description: | |
Queries the SQLite database. | |
Returns: | Table |
Part of Library: | Sql |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Sql.Query]Sql.Query [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- Returns false if there was an error. You can use sql.LastError to get it.
- Seems to return numbers as strings. (for example: "123", not 123)