Milan Matějček

Results 49 comments of Milan Matějček

Yeasterday, I tried fix it. 1) `table()->select()` is easy fix. 2) Do you want it? I expect api must support `table()->insert()`, `table()->update()` and `table()->delete()` this is little more complex, because...

It is secondary litle reason, i try 10k cycle where is cca 4x faster. ``` 0.0012 -> function constant 0.00026 -> raw value ``` First idea was: Is posible in...

I need value of constant in compile time. This `MyLanguageEnum::CZECH` is not solution for my use case, still i must keep external method what convert constant to value.

What about keep Statement and add new property with value? Is not ideal, because is only for ::constant. What about new class StatementConstant extend Statement and ovewrite behavior? This couldn't...

One point If you use direct constant like describe @mabar, that is safer if value changed. Because if set raw value and change constant. In this moment nette does not...

For this moment you can write like: ```php dump($selection->where('DATE_FORMAT(registration_date, ?) = ?', '%Y-%m-%d', '2017-01-26')->fetch()); // or if you need this format YYYY-MM-DD dump($selection->where('DATE(registration_date)', '2017-01-26')->fetch()); ```

For interest Mysql 5.7 does not allow invalid datetime "0000-00-00 00:00:00". Let's prepare your databese :) Like @hrach recommended you.

@Majkl578 What do you suggest? I named in issue as IRouteBar. What do you think about IRouteInfo, IRouteMask, IRouteMaskBar, IRoutingPanelRoute?

Could you paste dummy data in sql format and tables?