Log message #4155598

# At Username Text
# Jul 4th 2018, 09:20 neon1024 I forget that MySQL has `uuid()` but not a UUID data type
# Jul 4th 2018, 09:20 neon1024 I don’t use UUID’s very often
# Jul 4th 2018, 09:20 neon1024 Just checking.
# Jul 4th 2018, 09:19 neothermic @neon1024 char(36) should work in cake3, why?
# Jul 4th 2018, 09:19 neon1024 Also, I believe the older cert was code reviewing a project, so not even an exam
# Jul 4th 2018, 09:19 neon1024 So there is no exam for you to revise for
# Jul 4th 2018, 09:19 neon1024 There is no point doing a cert in Cake 2
# Jul 4th 2018, 09:19 neon1024 As I understand it, there is no Cake 3 certification yet
# Jul 4th 2018, 09:18 amit.mehra @neon1024 i think that is for beginner
# Jul 4th 2018, 09:15 neon1024 Do we still use `CHAR(36)` for UUIDs?
# Jul 4th 2018, 09:15 amit.mehra Thanks @neon1024
# Jul 4th 2018, 09:13 neon1024 https://www.udemy.com/courses/search/?q=cakephp%203andsrc=sacandkw=CakePHP
# Jul 4th 2018, 09:12 amit.mehra But it is only for perticular date i need weekend classes
# Jul 4th 2018, 09:12 neon1024 https://www.youtube.com/user/CakePHP
# Jul 4th 2018, 09:12 neon1024 https://certification.cakephp.org/
# Jul 4th 2018, 09:12 neon1024 https://training.cakephp.org/
# Jul 4th 2018, 09:11 amit.mehra but need tutorial to learn with expertise @dereuromark
# Jul 4th 2018, 09:11 amit.mehra I am already full stack developer in php
# Jul 4th 2018, 09:11 amit.mehra exam means want to become certified cake php developer
# Jul 4th 2018, 09:10 dereuromark exam? you have to be a bit more elaborate
# Jul 4th 2018, 09:10 amit.mehra I want tutorial for exam of cake php can anyone explain me
# Jul 4th 2018, 09:09 amit.mehra Morning
# Jul 4th 2018, 08:00 neon1024 Morning all
# Jul 4th 2018, 07:25 Boom #test
# Jul 4th 2018, 07:24 Boom hey
# Jul 4th 2018, 07:24 Boom Hello everyone
# Jul 4th 2018, 07:22 Boom hi
# Jul 4th 2018, 06:59 saeideng see other methods
# Jul 4th 2018, 06:30 lubos How can I use MapReduce to filter data, examples I see are returning 2 or more resultSets, but I want just filter some results in same collection
# Jul 4th 2018, 05:33 slackebot4 'Offers', 'foreignKey' => 'offer_id', 'targetForeignKey' => 'related_id', 'joinTable' => 'offers_related', 'conditions' => [ 'OffersRelated.type' => 'upsell', ] ]); ``` I am using `offers_related` table as joinTable and type condition just because I am same joinTable for multiple associations. In your case related / suppressed will be affilated
# Jul 4th 2018, 05:33 lubos @pmoraes Here is my example in `OffersTable.php` ``` $this->belongsToMany('Suppressed', [ 'className' => 'Offers', 'foreignKey' => 'offer_id', 'targetForeignKey' => 'related_id', 'joinTable' => 'offers_related', 'conditions' => [ 'OffersRelated.type' => 'suppressed', ] ]); $this->belongsToMany('Upsell', [ 'className' =>
# Jul 4th 2018, 05:29 lubos I think your className and the name of association should be different
# Jul 4th 2018, 05:19 liaogz82 can a custom field be created out from the entity?
# Jul 4th 2018, 04:55 liaogz82 say I want a custom field `date` from `created_at` datetime field. Just the date will do
# Jul 4th 2018, 04:54 liaogz82 guys how do I make custom fields in cakephp?
# Jul 4th 2018, 02:54 pmoraes ``` $this->belongsToMany('AffiliatedCompanies', [ 'className' => 'Companies', 'foreignKey' => 'company_id', 'targetForeignKey' => 'affiliated_company_id', 'joinTable' => 'affiliated_companies' ]);````
# Jul 4th 2018, 02:53 pmoraes Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'company_id' in 'where clause'
# Jul 4th 2018, 02:53 pmoraes let me check
# Jul 4th 2018, 02:53 pmoraes hmm
# Jul 4th 2018, 02:53 hmic only the association name
# Jul 4th 2018, 02:52 hmic no, classname does not change there