Global/SQLStr

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Initial Creation)
Line 2: Line 2:
 
|Name=SQLStr
 
|Name=SQLStr
 
|Parent=Global
 
|Parent=Global
|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]]
+
|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 {{LibraryFunction|sql|SQLStr}}
 
   
 
   
 
|Realm=Shared
 
|Realm=Shared

Revision as of 20:30, 18 April 2014

 SQLStr( )

Contents

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

string input

String to be escaped

Arguments

boolean noQuotes=false

Whether the returned value should be surrounded in quotes or not

Returns

string

escaped input
Personal tools
Navigation