-
Hi,
is there a way to use declare in the query.?
using medoo 1.4.5
currently it returned empty.
example query:
`declare @StartDate DATETIME='2016-05-01 00:00:00'
declare @EndDate DATETIME=g…
-
I want to bind some tasks before and after database connection and before/after query execution as well. Is it possible?
nahid updated
3 years ago
-
SELECT DISTINCT name FROM table
How to perform a select?
Supme updated
3 years ago
-
Hi, I call the **select** method.
```
$database = new Medoo([
'database_type' => 'mysql',
'database_name' => 'name',
'server' => 'localhost',
'username' => 'your_username',
…
-
```php
$vd = letSQL()->rand('videos','*');
dd($vd)
```
the Not mentioned in the documentation
Can I customize the length of the array?
🧐 Can only be used $db->query(RAW) ?
-
How to use join to select conditional data from one table.
For example, look at this query:
select question.id, question.text, vote.vote as myvote from question left join vote on vote.question…
-
In my Database there is a field saved as tinyint(1) where 1 and 0 stand for true and false.
When using Medoo
```
'prices' => [
'courtage[Bool]'
]
```
does not turn a 0 to FALSE and a 1 …
stell updated
3 years ago
-
Hello, thank you for your code.
I've used before mysql_fetch_object (for example: $user->email), but in Medoo I can't find this way, and forced to use data as array (for example: $user[0]['email'])…
-
Hi,
I'm using Medoo with MySQL in a very long process (it can take up to 2 hours to complete). When the process has finished I'm getting a `MySQL server has gone away (2006)`.
I would like to id…
-
Hello, I have table like this:
`ID | name | value
-------------------
1 | First | Last
2 | Second | Next`
Can I get data like this?
`Array
(
[First] =>Last
[Second] => Ne…