-
We can insert array data without serialization, because Medoo will handle this automatically.
``` php
$database = new medoo("my_database");
$last_user_id = $database->insert("account", [
"user_n…
-
can not find transaction function?
-
I have a little special support PDO database can handle more special environment
PS: Support PDO is very simple
septs updated
9 years ago
-
Would it be possible to add an optional way of logging all SQL statements sent to the database?
-
I tried to use count as follows for a reason:
``` php
public function count_main($table,$join=NULL,$column=NULL,$where=NULL){
$count = $db->medoo->count($table,$join,$column,$where);
}
`…
-
when support prepare ?
-
This feature is added on 35782348
Just add `#` in front of the column. The value will not be quoted if it matching `XXX()` uppercase as SQL function.
``` php
$database->update('post', [
'#uid' =…
-
eg:
SELECT
*
FROM
tablea
LEFT JOIN tableb b ON tablea.field1 = b.field1
LEFT JOIN tablec c ON b.field2 = c.field2
php code:
$join['[>]tableb (b)'] = array('field1'=>'field1');
$join['[>]table…
-
Hi,
I would like to translate the doc into Chinese, is there any standard source?
Because I want to keep the doc up to date too.
-
The signature is:
```
public function has($table, $join, $where = null)
```
But documentation suggest:
has($table, $where)
has($table, $join, $where)