# |
Oct 18th 2019, 07:58 |
dereuromark |
You have auto complete in Eclipse without any help? I doubt that ^^ |
# |
Oct 18th 2019, 07:57 |
dereuromark |
Bancer: sure, sounds good |
# |
Oct 18th 2019, 07:56 |
javier.villanueva |
solved... im wrong with the namespace |
# |
Oct 18th 2019, 07:56 |
val |
@dereuromark It would be nice to have a list of build-in finders in the docs. Regarding IDE helper it is not really clear how it would help. I use Eclipse. The code completion and methods nagivation works out-of-the-box. |
# |
Oct 18th 2019, 07:52 |
javier.villanueva |
nop |
# |
Oct 18th 2019, 07:52 |
javier.villanueva |
2019-10-18 07:46:25 |
# |
Oct 18th 2019, 07:52 |
javier.villanueva |
jobtype = UpdateAssetPaths |
# |
Oct 18th 2019, 07:52 |
dereuromark |
Make sure the job haa not a timestamp in the future |
# |
Oct 18th 2019, 07:52 |
javier.villanueva |
or bin\cake queue runworker |
# |
Oct 18th 2019, 07:52 |
javier.villanueva |
bin\cake queue runworker -g UpdateAssetPaths |
# |
Oct 18th 2019, 07:51 |
javier.villanueva |
but there are a job in database |
# |
Oct 18th 2019, 07:51 |
dereuromark |
Thats weird. How do u run it? |
# |
Oct 18th 2019, 07:51 |
javier.villanueva |
always "nothing to do" |
# |
Oct 18th 2019, 07:51 |
dereuromark |
Does the runner pick up the job? |
# |
Oct 18th 2019, 07:50 |
javier.villanueva |
and progress didnt change |
# |
Oct 18th 2019, 07:50 |
javier.villanueva |
nothing... I launch de job from console, a record in qeue_processes is created, in any seconds dissapear, but the job is not terminated |
# |
Oct 18th 2019, 07:48 |
conehead |
Ah okay, didn't look into it this far. Thought it just takes the name |
# |
Oct 18th 2019, 07:48 |
dereuromark |
Conehead: no as the Signature requires Query as input |
# |
Oct 18th 2019, 07:47 |
dereuromark |
Bancer: with ide helper directly as auto complete in your ide. See discussion above and link. |
# |
Oct 18th 2019, 07:47 |
javier.villanueva |
mm i see now that in proccesses are a new register |
# |
Oct 18th 2019, 07:45 |
javier.villanueva |
I am using cake queue, I have a task in database, but when I run worker always tell me: "nothing to do, sleeping" |
# |
Oct 18th 2019, 07:24 |
conehead |
Well if you check the `Table` class you can see `findAll`, `findList`, `findThreaded`. And `findOrCreate`...can this one not be falsely be used as a finder method although it is none |
# |
Oct 18th 2019, 07:18 |
val |
https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#using-finders-to-load-data |
# |
Oct 18th 2019, 07:17 |
alexdd55976 |
what is a framework finder? |
# |
Oct 18th 2019, 07:17 |
val |
Hi, is there a list of all framework finders somewhere in 3.x docs? |
# |
Oct 18th 2019, 07:07 |
javier.villanueva |
ok i will try |
# |
Oct 18th 2019, 07:06 |
conehead |
mark to the rescue again |
# |
Oct 18th 2019, 07:06 |
conehead |
Seems outdated. Have a look at this: https://github.com/dereuromark/cakephp-queue |
# |
Oct 18th 2019, 07:04 |
javier.villanueva |
are you use CakeResque for it? or another plugin? |
# |
Oct 18th 2019, 07:02 |
javier.villanueva |
you're right for sure |
# |
Oct 18th 2019, 07:01 |
conehead |
I might be wrong, but I think it is never a good idea to save 10.001 entities in one go with a http request |
# |
Oct 18th 2019, 07:00 |
conehead |
Sounds for me like you should create a task and let them create somewhere in the background |
# |
Oct 18th 2019, 06:55 |
javier.villanueva |
I need to saveMany children entities of an entity (when save it), storing a parent value in children. I am testing with 10.000 children, but its too time... the faster method is saveMany, its true? |
# |
Oct 18th 2019, 06:41 |
javier.villanueva |
morning all |
# |
Oct 18th 2019, 06:35 |
alexdd55976 |
thanks, you too |
# |
Oct 18th 2019, 06:18 |
conehead |
wish you a good friday morning alex :slightly_smiling_face: |
# |
Oct 18th 2019, 06:15 |
alexdd55976 |
morning |
# |
Oct 18th 2019, 02:54 |
francis.nadal |
Thank you @phantomwatson! I will take a look when I get in the office hehe |
# |
Oct 17th 2019, 23:24 |
dereuromark |
jep jep: https://github.com/dereuromark/cakephp-ide-helper/pull/147/files#diff-4d6ceddef15d34ac6842caff998da528R51 fixed the false positives in the process. |
# |
Oct 17th 2019, 22:19 |
dereuromark |
I think my ide helper also autocompletes using the former, but I would have to check. in case you are using it you could more quickly confirm it :slightly_smiling_face: |
# |
Oct 17th 2019, 22:13 |
coreus |
Yeah, figured. I guess stick with `camelCase` for conciseness. |