# |
Jun 28th 2017, 09:18 |
adriencs |
seem nice |
# |
Jun 28th 2017, 09:17 |
cakephp721 |
called 'Highcharts' |
# |
Jun 28th 2017, 09:17 |
cakephp721 |
I've used a plugin to render charts |
# |
Jun 28th 2017, 09:16 |
adriencs |
howdy |
# |
Jun 28th 2017, 09:16 |
cakephp721 |
hi all |
# |
Jun 28th 2017, 09:16 |
savant |
me^ |
# |
Jun 28th 2017, 09:16 |
slackebot |
<adriencs> |
# |
Jun 28th 2017, 09:09 |
bernat |
adriencs, innerJoinWith won't hydrate the associated entities and I don't know which fields would put in select, but you can call select and choose the fields you want to fetch. |
# |
Jun 28th 2017, 09:09 |
savant |
https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#filtering-by-associated-data-via-matching-and-joins |
# |
Jun 28th 2017, 09:09 |
savant |
i thought that was innerJoinWith |
# |
Jun 28th 2017, 09:08 |
adriencs |
there is no way to do a JOIN without adding things in SELECT with the query builder ? |
# |
Jun 28th 2017, 09:08 |
savant |
and then an example where it does something else |
# |
Jun 28th 2017, 09:07 |
savant |
would like to see one thing that used one vs the other and does what you think it should |
# |
Jun 28th 2017, 09:07 |
savant |
again, im drunk |
# |
Jun 28th 2017, 09:07 |
savant |
i think |
# |
Jun 28th 2017, 09:07 |
adriencs |
:rage1: |
# |
Jun 28th 2017, 09:07 |
savant |
i think innerJoinWith adds columns to the select |
# |
Jun 28th 2017, 09:05 |
adriencs |
because in both case it fetch me data |
# |
Jun 28th 2017, 09:05 |
vix |
neon1024: 3 field are coming in select, but they are separated with semi colon. I want to remove semi colon, instead i need dash |
# |
Jun 28th 2017, 09:03 |
savant |
contain is higher-level magic |
# |
Jun 28th 2017, 09:03 |
savant |
just specifies the join |
# |
Jun 28th 2017, 09:03 |
savant |
yep |
# |
Jun 28th 2017, 09:03 |
adriencs |
`innerJoinWith()` isnt like `contain()` but without fetching data ? :thinking_face: |
# |
Jun 28th 2017, 08:57 |
bernat |
I'm actually more prone to make those mistakes myself than helping fixing them. :D |
# |
Jun 28th 2017, 08:55 |
neon1024 |
Perhaps I should put my glasses on |
# |
Jun 28th 2017, 08:55 |
neon1024 |
Yep, it was that! You hero bernat! :) |
# |
Jun 28th 2017, 08:53 |
savant |
ffft you’re drunk |
# |
Jun 28th 2017, 08:53 |
neon1024 |
You actually are drunk! |
# |
Jun 28th 2017, 08:53 |
neon1024 |
Go to bed mate |
# |
Jun 28th 2017, 08:52 |
neon1024 |
lol @savant |
# |
Jun 28th 2017, 08:52 |
bernat |
thanks! |
# |
Jun 28th 2017, 08:52 |
savant |
my b |
# |
Jun 28th 2017, 08:52 |
savant |
too drunk to help |
# |
Jun 28th 2017, 08:52 |
savant |
well idk |
# |
Jun 28th 2017, 08:52 |
savant |
then use the cakephp error handler to catch all the things and log as appropes |
# |
Jun 28th 2017, 08:52 |
bernat |
no PHP7 for now |
# |
Jun 28th 2017, 08:52 |
savant |
so you dont get warnings |
# |
Jun 28th 2017, 08:51 |
bernat |
but I just want the PHP messages |
# |
Jun 28th 2017, 08:51 |
savant |
and run php7? to turn everything to exeptions |
# |
Jun 28th 2017, 08:51 |
bernat |
xD |
# |
Jun 28th 2017, 08:51 |
savant |
change your error settings to report everything |