-
I got a problem when i try to use $database->update(), it looks like there's a bug in the code that makes it impossible to update data in MySQL. And i get the error message: column "fengdingwen@outloo…
-
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…
-
英文不好表达,直接上中文。
若想执行如下查询
SELECT "title","hits","tourl","id" FROM "fn_content_1" WHERE ("title" LIKE '%标题%') ORDER by id DESC LIMIT 2,3
用MEDOO,写如下语句:
$db->select("content_1",array("title","hits","t…
-
Hello,
I've tried to connect to a windows azure mssql database and it returs a fatal error 'Invalid handle returned' on line 141. Is Medoo compatible with azure? Can you give an example, pls?
Thank…
-
These are medoo generator sql:
···
Array
(
[0] => SELECT "uid","market_channel" FROM "users" WHERE "registration_time" SELECT "uid","referid as refer" FROM "users" WHERE "registration_time"
-
比如 select a+b from cc
a 和 b 分别是 cc 库的两个字段
-
I can not get the LIMIT Parameter to work with the UPDATE query.
php 5.3
$result = $database->update("test", array(
"active" => 1
),array(
"AND" => array(
"var1" => 0,
"var2"…
Snoop updated
7 years ago
-
This works ok:
$db->query('replace into battles (id, data) values (1,2)');
This fails with warning and nothing saves to database:
$db->replace('battles',['id','data'],[1,2]);
Warning: Invalid argumen…
-
We currently added a new data mapping feature on develop branch here: 6ab60380.
For most case, the data construction we need from database is multi-dimensionally complex. We have to process the multi…
-
Probably going to replace the use of the Lib directory with composer. This replacement will require a new database object, among other things.