-
Hi,
I'm using Medoo with MySQL in a very long process (it can take up to 2 hours to complete). When the process has finished I'm getting a `MySQL server has gone away (2006)`.
I would like to id…
-
MySQL5.6
表名:test
a1(主键),
a2(varchar200 不允许空),
a3(varchar200 不允许空),
a4(int)
$db->insert("test",["a1" => "35"]);
使用Medoo仍能正常插入(出错),使用下面则不能插入成功(正确)
$sql=$pdo->prepare("insert into test (a…
-
i try to set a incorrect field.
```php
$result = $db->insert($this->table, $data);
var_dump($result); // PDOStatement {...}
var_dump($db->id()); // 0
// id or result both is not FALSE !
```
so,…
-
Hello,
When I initiate new medoo object for say database "accounts", I cannot make a select from a table in other database, let's say "users".
$data = $db->select("users.users", "*", [
"id[…
-
Medoo Version 1.7.10
This my code
`$r = $db->select("item(a)", [
"[>]customer(b)" => ["customer_id" => "id"]
], [
"a.id",
"b.company_name"
],…
deawx updated
3 years ago
-
Hey, I need to connect to an external `latin1_swedish_ci` database. So I went to `new Medoo()` and added `['charset' => 'latin1']`. It probably worked, but not the way I expected.
My php script is …
-
@catfan , I did a pull request without first opening a new issue.
I added the array typing in the call of the parameters of the methods that request data of type array.
I think the code should be co…
-
Hello, I have encountered an issue while using the new mapping function.
Whenever there is a joining table with same column names medoo will put null values into those fields. Example:
```
$artworks…
-
**Error:**
PHP Fatal error: Cannot use object of type stdClass as array in /home/***/***.com/***/***/Medoo.php on line 733
**Line 713:**
`$column_key = $key_match['column'];`
**Code:**
```
…
-
Here is an method of my database-class which uses the insert-method of medoo
```
public function addReferenceProject($getProjectName, $getProjectShortDescription, $getProjectURL, $getProjectMainI…