-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Update doctrine.rst #9111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update doctrine.rst #9111
Conversation
@workschan is there really a problem for using single quotes? I've just tested it in the Symfony Demo app and it works: $ php bin/console doctrine:query:sql 'SELECT * FROM symfony_demo_user'
array(3) {
[0]=>
array(6) {
["id"]=>
string(1) "1"
["full_name"]=>
string(8) "Jane Doe"
["username"]=>
string(10) "jane_admin"
["email"]=> "..." |
I think we should leave the docs as they are now with single quotes. Example:
returns:
but using single quote is fine:
|
The arguments provided by @mheki are pretty convincing, so let's close as "won't merge". I'm sorry @workschan ... but we are looking forward to further contributions from you. Thanks! |
@javiereguiluz I run this command in Windows cmd, then return:
use double quotes fix it. |
I'm going to reopen to see if other people can explain to us if this is a Windows thing or a Doctrine thing. Thanks. |
@workschan Could you paste here how exactly you run the command on Windows, please? |
Just run the example command of docs on Windows cmd: |
thanks @workschan that's really interesting.
|
Marek, thanks for investigating this issue. I've reworded the contents to mention this. Thanks! |
@javiereguiluz That should change commands source code to match single quotes and double quotes. |
Is this the only place where such a change is necessary? |
@xabbuh I've looked for and it's the only occurrence in this article and also in the entire docs (at least on 4.0 branch). |
@workschan it's now merged. Thanks for helping us spot this problem. |
No description provided.