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 <[email protected] <javascript:> 
> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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 [email protected].
To post to this group, send email to [email protected].
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