SQLStr

From Garry's Mod
Jump to: navigation, search
 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