You'd go to https://github.com/doctrine/orm and create a patch with a
(failing) test case, which resembles how you'd imagine the feature to work.

On Fri, 4 Jan 2019, 12:27 Esteban Olm <esteban....@gmail.com wrote:

> Thanks very mach,
>
> Sorry, I don't know where to open the question, I have looked for a
> "doctrine developers group" and I ended in this group. o_O
>
> Do you have a url?
>
> I think doctrine coul easily convert this "undocumented feature" in a
> "valid feature" to translate
> "<column_name>=<whatever_I_want_to_write_in_the_final_sentence>"
>
> Thanks
>
>
> El viernes, 4 de enero de 2019, 12:20:03 (UTC+1), Marco Pivetta escribió:
>>
>> Doctrine only targets cross-platform compliant features.
>>
>> The undocumented "feature" you are using was working because of incorrect
>> DBAL quoting semantics in DDL: if you need it, I suggest opening a pull
>> request with a failing test, for discussion/inclusion in the tooling.
>>
>> On Fri, 4 Jan 2019, 12:13 Esteban Olm <esteb...@gmail.com wrote:
>>
>>> Hello,
>>>
>>> Since now, I couls create in MYSQL DESC indexes using:
>>>
>>> (...)
>>>  * @ORM\Table(name="<table_name>",
>>>  *             indexes={
>>>  *                 @Index(name="my_index_idx", columns={"field_a",
>>> "field_b", "field_c"="field_c DESC"}),
>>>  *             })
>>> (...)
>>>
>>> which creates a index
>>>
>>> create index (...) field_a, field_b, field_c DESC
>>>
>>> Thah worked fine until now, last version (in composer doctrine/dbal
>>> v2.9.1) that gives an error:
>>>
>>> There is no column with name 'field_c DESC' on table '<table_name>'.
>>>
>>> Of course, filed_c and table exists !!
>>>
>>> *Why the hell Doctrine doesnt' allow such thing as important as DESC
>>> indexes????*
>>>
>>> Thanks in advance
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "doctrine-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to doctrine-use...@googlegroups.com.
>>> To post to this group, send email to doctri...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/doctrine-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to doctrine-user+unsubscr...@googlegroups.com.
> To post to this group, send email to doctrine-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to doctrine-user+unsubscr...@googlegroups.com.
To post to this group, send email to doctrine-user@googlegroups.com.
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to