# |
Sep 29th 2016, 17:27 |
rudy1976s |
but the same query on command line has no problem |
# |
Sep 29th 2016, 17:26 |
rudy1976s |
I know I solved that way |
# |
Sep 29th 2016, 17:25 |
hmic |
rudy1976s: the answer is simple: too much! process the query in smaller chunks |
# |
Sep 29th 2016, 17:24 |
rudy1976s |
Hello , what is the memory needed to run a query which will process around 100k of records with 150k of records related with hasMany? I am facing problems with memory exhaust error, although I have already set ->bufferResults(false) |
# |
Sep 29th 2016, 17:16 |
noibilism |
hello guysâ?¦i am having issues using the saveMany cakephp function |
# |
Sep 29th 2016, 17:15 |
hmic |
Neon1024, he's just joking with me |
# |
Sep 29th 2016, 17:15 |
admad |
cya, have a good night's sleep :slightly_smiling_face: |
# |
Sep 29th 2016, 17:15 |
hmic |
admad: he's from the country that invented the bse disease :p |
# |
Sep 29th 2016, 17:15 |
Neon1024 |
Later |
# |
Sep 29th 2016, 17:15 |
Neon1024 |
But your sarcasm is enough to send me home |
# |
Sep 29th 2016, 17:15 |
admad |
then what's your excuse for asking stupid question? :P |
# |
Sep 29th 2016, 17:15 |
Neon1024 |
My excuse is that itâ??s 18:13, and Iâ??ve been at my desk for 10 hours |
# |
Sep 29th 2016, 17:14 |
Neon1024 |
No, I haven't |
# |
Sep 29th 2016, 17:14 |
Neon1024 |
Why? |
# |
Sep 29th 2016, 17:14 |
admad |
Neon1024: have you also been working with js lately? |
# |
Sep 29th 2016, 17:14 |
Neon1024 |
Or perhaps not as itâ??s not an entity yet |
# |
Sep 29th 2016, 17:13 |
Neon1024 |
->select(â??first_nameâ??, â??last_nameâ??, â??mutatorFullNameâ??) |
# |
Sep 29th 2016, 17:13 |
Neon1024 |
You can select a mutator in a query right? |
# |
Sep 29th 2016, 17:09 |
admad |
do it! now! |
# |
Sep 29th 2016, 17:07 |
hmic |
admad: you mean decreasing numbers from memory? - same happens to my money all the time. i should stop that js shit immediately! |
# |
Sep 29th 2016, 17:05 |
hmic |
prepender, http://book.cakephp.org/3.0/en/core-libraries/collections.html#Cake\Collection\Collection::groupBy |
# |
Sep 29th 2016, 17:04 |
admad |
yup too much js can do that to you, the symptoms fit |
# |
Sep 29th 2016, 17:04 |
prepender |
hmic: im not following |
# |
Sep 29th 2016, 17:04 |
hmic |
admad: might be that im doing too much nodejs lately :p |
# |
Sep 29th 2016, 17:03 |
hmic |
prepender, Collection::indexBy i call it still |
# |
Sep 29th 2016, 17:03 |
admad |
hmic: do i need to call a doctor? |
# |
Sep 29th 2016, 17:02 |
prepender |
what is indexby? |
# |
Sep 29th 2016, 17:02 |
hmic |
did'nt know my alzheimers is so bad already :p |
# |
Sep 29th 2016, 17:02 |
prepender |
So I want a group by for a column but instead of it giving the sum or total I want it to give the full results of rows that contained that column value |
# |
Sep 29th 2016, 17:01 |
hmic |
so i was wrong for years now... |
# |
Sep 29th 2016, 17:01 |
admad |
hmic: unless someone changed the tags just to mess with you 1.3.21 is the lastest 1.3 release i found |
# |
Sep 29th 2016, 17:00 |
hmic |
indexBy? |
# |
Sep 29th 2016, 17:00 |
prepender |
But I dont want the total count or sum |
# |
Sep 29th 2016, 17:00 |
hmic |
prepender, Collection::groupBy? |
# |
Sep 29th 2016, 16:59 |
hmic |
the question was on you, not admin +lol* |
# |
Sep 29th 2016, 16:59 |
hmic |
@admad |
# |
Sep 29th 2016, 16:59 |
hmic |
admin: have the revisions be renamed? is it even possible? i was very sure the crc32 removal has been in the 1.3.20 release, not 1.3.21 and that 1.3.20 was the last one in the 1.3 branch actually... |
# |
Sep 29th 2016, 16:59 |
ypnos |
not too hard to do. so you talking about a database query? |
# |
Sep 29th 2016, 16:52 |
prepender |
What is the best way to accomplish this? |
# |
Sep 29th 2016, 16:52 |
prepender |
Using CakePHP 3.3 I want to group results in arrays that have the same column value for a specific column |
# |
Sep 29th 2016, 16:26 |
skor |
@admad very cool! :thumbsup: thank you |