-
Strangly enought... Renaming fields (using AS) doesnt work when using medoo::raw() in my query. I may forget something but i'm pretty sure about this !
example (work : all fields are in integer):
…
ghost updated
6 years ago
-
$database->insert("account", [
"user_name" => "foo",
"email" => "foo@bar.com",
"age" => 25
]);
$account_id = $database->id();
var_dump($account_id ); //this is null!
-
function where_clause($where)
if (isset($where['AND']))
suggest:
if (!empty($where['AND']))
My code:
-
Here is my simple code to test if Medoo is running properly. Medoo.php is on the same folder.
```
-
Select clause only support columns aliased or not but doesn't support aggregate functions in conjunction with group by clause
-
I am calling below query from my table to get distinct values
`$data['data'] = $this->dbconn->query("SELECT DISTINCT area_name FROM actions")->fetchAll();`
The $data display below data
```
{
…
-
Decided to give a try to this framework, but found out that there is no `count()` method in master branch (id do exist in `develop` however). Mentioned method is documented as existing, so I thing tha…
chuv1 updated
6 years ago
-
Hi since version 1.5, my ide give me that error
`Method 'count' not found in
Referenced method is not found in subject class.
`
Even if it's work since it's call through the `__call` function…
-
I got this message even I had already installed PDO.
`Fatal error: Uncaught PDOException: could not find driver in /var/www/html/vendor/catfan/medoo/src/Medoo.php:241 Stack trace: #0 /var/www/html/…
-
字段比较
"OR" => [
"count_send[