/
mariadb.classes.json
55 lines (55 loc) · 2.09 KB
/
mariadb.classes.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[
{
"name": "MySQL",
"parameters": {
"optional": [
{
"name": "profile",
"type": "string"
}
],
"required": []
},
"methods": [
{
"name": "query",
"parameters": {
"required": [
{
"name": "statement",
"type": "string"
}
],
"optional": []
},
"returnType": "array or none",
"detail": "MySQL->query(string $statement): array or none",
"value": "query($0)",
"documentation": "Execute the SQL statement on the server. A successful query result will return an associative array with an \"result\" array and the \"affected\" rows. On error an associative array with \"errno\", \"error\" and \"sqlstate\" will be provided.",
"link": "[Full documentation](https://github.com/halon-extras/mariadb)"
},
{
"name": "escape_string",
"parameters": {
"required": [
{
"name": "parameter",
"type": "string"
}
],
"optional": []
},
"static": true,
"returnType": "string or none",
"detail": "MySQL::escape_string(string $parameter): string or none",
"value": "escape_string($0)",
"documentation": "Returns the argument parameter escaped. Safe to be used within a SQL statement.",
"link": "[Full documentation](https://github.com/halon-extras/mariadb)"
}
],
"detail": "MySQL([string $profile])",
"value": "MySQL($0)",
"documentation": "The MySQL class.",
"link": "[Full documentation](https://github.com/halon-extras/mariadb)"
}
]