-
When inserting data, it is sometimes necessary to add the quotation marks to the array to perform the success
eg: $openid ,"$openid"
$openid = 'myopenid';
$db->insert("mytable", array("openid" =>…
-
Hey,
i've tried to run the demo with a fresh sqlitedb but got the `"no such table: account"` error and didn't found a `create(Table)` method in the docs. How can i create my tables?
thanks in advance!…
-
Its possible to add "IN BOOLEAN MODE" to Full text searching?
```
$database->select("post_table", "post_id", [
"MATCH" => [
"columns" => ["content", "title"],
"keyword" => "foo"
…
-
```
$database->select("person", "id", [
"city[~]" => "stan%" // Kazakhstan, Uzbekistan, Türkmenistan
]);
```
Gets the SQL:
```
SELECT "id" FROM "person" WHERE "city" LIKE 'stan%'
```
As the do…
-
Hello,
Dealing with this, may avoid direct query usage :
$db->select('customer', '*', array('GROUP' => array('foreign1_id', 'foreign2_id' ,'foreign3_id')));
If you could add this support, it would…
-
I have some images saved into BLOB. I can retrieve the images like this:
```
$datas = $database->select("images", [
"title",
"image"
], [
"id[>=]" => 1
]);
```
and display them with PHP …
-
yeasterday,l connected my mysql server.This problem showed. After my debug,l confirm that this problem is caused by a wrong `$dsn` . u can see this blog http://blog.csdn.net/gusgao/article/details/524…
-
My table is
```
Array
(
[0] => Array
(
[Date] => 2015-11-04
[Time] => 18:07
[LastEdit] => 00:00
[Subject] => it
[Class] => 31
…
-
Error near "," when multiple insert in sqlite db.
sqlite 3.7.7.1
php 5.3.27
Medoo 1.2.1
-
when trying to insert eg:
$db->insert('table',
array(
'accountID' => 27,
'order' => 123
)
);
its not executing becouse order is not quoted. Works fine in update etc..
Please …
ghost updated
7 years ago