-
flight+medoo use register methods error!help
-
Hi guys, I want to get an array from Offers from my db.
i have "price" and "profit" field. I can order by profit OR price, but i want to order by "profit * price".
Here is my code:
```
$co…
-
Hi. Looks like a bug:
```php
$db->insert('email_check',[
'email' => 'test@example.org',
'dt_expired' => Medoo::raw('DATE_ADD(NOW(), INTERVAL :hours HOUR)', [':hours' => 3])
]
)
```
Output…
-
first error was: Fatal error: Class 'Medoo\Medoo' not found in Medoo-master\test.php on line 11
-
Hello. I want using "OR NOT" in sql. example:
```
SELECT * FROM users
WHERE id > 2 OR NOT (
name LIKE '%sd' AND name LIKE '%sassd'
)
```
how handle in where clause Medoo?
thanks.
-
Hello there!
Medoo is fantastic! Way better than dealing with `mysqli_*` functions or `PDO` all by myself.
But there is something that was still bothering me.. Having to create the connection ev…
-
```
$data = Query::table('wf_admin', ‘a')
->leftJoin('wf_admin_nexus_role',['b.admin_id' => 'a.id'], 'b')
->condition($where)
->one()
->getResult()…
ghost updated
6 years ago
-
Hi,
i can't get "ORDER RAND()" to work. When i add it with
"ORDER"=>"RAND()"
the query produced looks something like that:
SELECT "screen_name"
FROM "users"
WHERE "screen_name" != ''
ORDER BY …
-
Python version of medoo:
https://github.com/pwwang/pymedoo
-
This library seriously needs testing and with current structure where so much logic has been put into constructor. It makes it difficult to test it. As of today this library is used in at least 96 38…