Log message #3881966

# At Username Text
# May 28th 2016, 08:29 phpcoder yes it works perfectly!
# May 28th 2016, 08:27 savant basically exactly what you thought it might be :slightly_smiling_face:
# May 28th 2016, 08:27 savant good to know you can change an alias
# May 28th 2016, 08:27 savant :)
# May 28th 2016, 08:27 savant look at you, looking at docs
# May 28th 2016, 08:26 savant oh fancy
# May 28th 2016, 08:26 phpcoder @savant http://api.cakephp.org/3.2/class-Cake.Database.Query.html#_from
# May 28th 2016, 08:17 phpcoder ) no problem @savant
# May 28th 2016, 08:17 phpcoder i am writing the code let see if it works
# May 28th 2016, 08:17 savant sorry, quite late for me, not running on all my batteries right now :(
# May 28th 2016, 08:17 savant interesting. not sure, maybe @lorenzo might know (though he's probably a bit asleep atm)
# May 28th 2016, 08:16 phpcoder the same table twice savant
# May 28th 2016, 08:16 phpcoder i have to use it twice
# May 28th 2016, 08:16 phpcoder yes
# May 28th 2016, 08:11 savant Which one of those is it?
# May 28th 2016, 08:11 savant or if you want to select from another table completely
# May 28th 2016, 08:10 savant If you just want to use Agents in there twice
# May 28th 2016, 08:09 savant whats the overall query you want to get?
# May 28th 2016, 08:08 phpcoder but with a different alias because i use it in a query on select() (on the main query)
# May 28th 2016, 08:08 savant so just use that code?
# May 28th 2016, 08:08 phpcoder the same as TableRegistry::get('Agents')->find()->select()->where()->all()
# May 28th 2016, 08:06 savant what is the exact query you want
# May 28th 2016, 08:06 phpcoder ?
# May 28th 2016, 08:06 phpcoder should i set it using ->from()
# May 28th 2016, 08:05 phpcoder i do not need to use "Agents" alias
# May 28th 2016, 08:05 phpcoder if i do TableRegistry::get('Agents')->find()->select()->where()->all()
# May 28th 2016, 08:05 savant like a cakephp table alias, or a sql alias
# May 28th 2016, 08:05 savant what do you mean, a different alias?
# May 28th 2016, 08:05 hmic !tell phpcoder about why
# May 28th 2016, 08:03 phpcoder guys can i do a simpple query using a different alias? (i am not talking about joins...) just a SELECT... FROM.... WHERE
# May 28th 2016, 05:18 mandeepkhaleriya @ ssaka i want to login with social site and also i want all functionality in social site means forger password,chane password etc?how how do thes task ?May you help me?
# May 28th 2016, 05:18 mandeepkhaleriya @ savant i want to login with social site and also i want all functionality in social site means forger password,chane password etc?how how do thes task ?May you help me?
# May 28th 2016, 03:47 ssaka I looking for tutorials and documents, or would not tell me if there is a valid URL.
# May 28th 2016, 03:46 ssaka hello guys, i'm lean cakephp3 today. I'd like to undo migrate (drop table) and undo bake all (model/controller/template). i can't find operations.
# May 27th 2016, 22:51 savant no problem
# May 27th 2016, 22:48 djboz @savant: Yeah that was my issue, thanks for clearing that up. Got it! I was responding with the download and itâ??s type.
# May 27th 2016, 22:47 djboz Iâ??m reading the wrong section, Iâ??m sorry.
# May 27th 2016, 22:47 djboz OHhhhhhh my bad
# May 27th 2016, 22:47 savant and then respond with the body
# May 27th 2016, 22:47 savant just dont tell it that you want the user to download it or the type?
# May 27th 2016, 22:46 djboz Yeah you wanted to send it as a file