-
Dear all,
I am very new to Medoo for some minutes and I just try to set up the Getting Started example.
I use PHP 5.5.14, just installed Medoo with Composer and run a MySQL database (10.0.29-Maria…
-
select cause have a foreach preg_match
protected function data_implode($data, $conjunctor, $outer_conjunctor = null)
{
$wheres = array();
foreach ($data as $key => $value)
…
-
left join ,you can not Use table prefix
-
I'm confused about how to include LIMIT & OFFSET in a select query.
-
In the version 0.9.8.2 the method $medoo->error() returns PDO::errorInfo();
PDO::errorInfo — Fetch extended error information associated with the last operation on the database handle
If insert1 and …
-
The group by only support 1 column, array desired .
-
solution:
```php
aolko updated
7 years ago
-
insert($table, $data)
Return: [number] The last insert id
But in code:
https://github.com/catfan/Medoo/blob/634bcef389e4eaa40d10e6d66a9eecc0f7638cc7/medoo.php#L717
```
$lastId = array();
……
$lastId[…
-
我有个之前已经做好的API框架,是基于swoole的,其中有个api使用了task功能,会在里面做一些其它操作,然后落地为日志,供agent采集。我看了fastD,版本3.0.0,没找到合适的实现方式,请问,这个框架可以支持吗?
-
return $this->select('table_1', ['id','content'], ['edited' => 1]);
sql:SELECT "id","content" FROM "table_1" WHERE "edited" = 1
error_info: [Err] 1064 - You have an error in your SQL syntax; check…