Garry's Mod Wiki

SQLStr

string SQLStr( string input, boolean noQuotes = false )

Description

Returns the input value in an escaped form so that it can safely be used inside of queries. The returned value is surrounded by quotes unless noQuotes is true. Alias of sql.SQLStr

Arguments

1 string input
String to be escaped
2 boolean noQuotes = false
Whether the returned value should be surrounded in quotes or not

Returns

1 string
Escaped input

Page Links


Special Pages


Wikis

?

Render Time: 98ms

DB GetPage 53
Generate Html 10
SaveChanges (1) 20
Render Body 0
Render Sidebar 12