Log message #4209349

# At Username Text
# 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.
# Oct 17th 2019, 22:13 ndm Personally I'm using the former, looks nicer imho.
# Oct 17th 2019, 22:10 ndm Doesn't matter as in PHP method names are case insensitive, `sOmEqUaLiFiEr` would work as well...
# Oct 17th 2019, 22:05 coreus while CakePHP supports both, should custom finders when addressed by camelCase with or UpperCamelCase? I.e: `->find('recentGamesInSeason') vs ->find('RecentGamesInSeason' `
# Oct 17th 2019, 20:18 bertinmendoza4 Reply
# Oct 17th 2019, 20:17 alpha testing
# Oct 17th 2019, 19:30 dereuromark jep
# Oct 17th 2019, 19:29 admad @dereuromark true, if it's a collection need to use ->isEmpty() on it
# Oct 17th 2019, 19:11 myappinterviews What's up @bertinmendoza4
# Oct 17th 2019, 19:11 bertinmendoza4 Hey @myappinterviews
# Oct 17th 2019, 18:45 phantomwatson And it's worth noting that `provider()` has been deprecated in favor of `getProvider()` and `setProvider()`.
# Oct 17th 2019, 18:44 phantomwatson @francis.nadal, I think that would be in the relevant table's `validationDefault()` method.
# Oct 17th 2019, 17:35 francis.nadal Hi its me again, currently studying the cakephp-upload plugin. I wanted to implement its validation as per documentation https://cakephp-upload.readthedocs.io/en/latest/validation.html but I seem to not understand where to put these. Thank you in advance for any help.
# Oct 17th 2019, 17:02 dereuromark collections if object collection, for array it is clear
# Oct 17th 2019, 17:02 dereuromark true as in !empty() returns true here
# Oct 17th 2019, 17:02 dereuromark @admad wouldnt a collection return true on empty (count 0) for this?
# Oct 17th 2019, 16:43 admad @neon1024 what's wrong with simply `!empty($company->websites)` ?