Óscar Otero
Óscar Otero
I'm not sure if this can be implemented easily in Simple Crud. As explained above, this can generate future bugs. For example: ```php $client = $db->clients->select()->columns('name')->where('id = ', 2)->get(); $client...
This should work: ```php // Select the first table $leads = $db->leads->select()->get(); // Load the clients of the selected rows $leads->clients; // Now you can iterate: foreach ($leads as $lead)...
Ten que haber un erro nalgun outro sitio do teu código. Con esto que me envías non debería inserir o rexistro nin unha soa vez (falta executar `->run()`)
É posible que esteas executando `run()` dúas veces? Podo ver o código completo?
Acabo de facer unha proba e son incapaz de reproducir este erro. Sigo pensando que non é un erro de SimpleCrud.
This is not implemented currently, but it's a good thing to have. Meanwhile, you can execute the query by yourself: ```php $statement = $simpleCrud->execute('SELECT SQL_CALC_FOUND_ROWS ...'); ```
Hi. I've implemented this. Now, you can use `SQL_CALC_FOUND_ROWS` passing `true` as the second argument of the `limit` function. For example: ```php $result = $db->items->select() ->limit(50, true) // run(); $total...
It's implemented only the `relate` part, but not `unrelate` 😃
Yes, please. Or at least a way to configure each feature manually. For example: ```js const options = { // https://en.wikipedia.org/wiki/Quotation_mark quotes: { primary: ['«', '»'], secondary: ['“', '”'] },...
I guess there's a limit for requests not providing auth tokens. It's a good idea to be able to configure the provider with things like this. I'm going to work...