Return self between 's, escaping \ and '

assert "'; DROP TABLE students".to_sql_string == "'''; DROP TABLE students'"

Property definitions

sqlite3 :: sqlite3 $ Text :: to_sql_string
	# Return `self` between `'`s, escaping `\` and `'`
	#
	#     assert "'; DROP TABLE students".to_sql_string == "'''; DROP TABLE students'"
	fun to_sql_string: String
	do
		return "'{self.replace('\\', "\\\\").replace('\'', "''")}'"
	end
lib/sqlite3/sqlite3.nit:325,2--331,4