Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.sql.SQLStr

C๐Ÿท๏ธ Sql

Part of StarfallEx namespace

๐Ÿ”— External
sql.SQLStr(str, bNoQuotes)
View on GitHub|lua/starfall/libs_cl/sql.lua:58
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 1 viewsUpdated 2 months ago

Description

Escapes dangerous characters and symbols from user input used in an SQLite SQL Query.

Parameters

NameTypeDescription
strstringThe string to be escaped.
bNoQuotesbooleanSet this as true, and the function will not wrap the input string in apostrophes.

Returns

TypeDescription
stringThe escaped input.

Examples

No examples available.

Used In

No usages found in the codebase.