Get Started

Upgrade

Where Syntax

Query

Aggregation

Fetch

Transaction

Management

Advanced

Raw object

PDO object

Debug

Information

version: 2.1.12

quote

Quotes the string for the query.

quote($string)
Return: [string] The quoted string.
$data = "Medoo";

echo "We love " . $data; // We love Medoo

echo "We love " . $database->quote($data); // We love \'Medoo\''