Hi Oscar.

What did you manage do with this ?, I have the same question to you at this 
time.

Best, Carlos

Em terça-feira, 27 de dezembro de 2011 16:19:16 UTC-3, Oscar Balladares 
escreveu:
>
> Oh, This is awesome, thank you all guys! 
>
> 2011/12/27 Benjamin Eberlei <[email protected]>
>
>> Doctrine ORM requires a class for mapping. Dynamic tables means dynamic 
>> classes, like with eval. You don't want to go there.
>>
>> Such a "dynamic part" of your model probably means that part doesnt need 
>> an ORM anyways.
>>
>> You can use the DBAL Connection and its query objects. 
>>
>> You can use the DBAL\connection::getSchemaManager() to dynamically create 
>> tables. Be aware that this API does NOT quote user input.
>>
>> Von meinem iPhone gesendet
>>
>> Am 27.12.2011 um 01:48 schrieb Oscar Balladares <
>> [email protected]>:
>>
>> Hi everyone.
>>
>> I'm looking for how to create and manage Tables dynamically.
>>
>> My use case is that one customer can create tables for its organization 
>> (hosted by us virtually);
>> I've found docs about this topic but for Doctrine 1.2  
>> <http://www.doctrine-project.org/documentation/manual/1_1/en/migrations:writing-migration-classes:available-operations:create-table>
>> http://www.doctrine-project.org/documentation/manual/1_1/en/migrations:writing-migration-classes:available-operations:create-table
>>  
>>
>> And I've found some other related docs about it for Doctrine2 about 
>> handling associations and mappings in php files (this is useful for what I 
>> want to achieve)
>>
>> <http://www.doctrine-project.org/docs/orm/2.1/en/reference/php-mapping.html>
>> http://www.doctrine-project.org/docs/orm/2.1/en/reference/php-mapping.html
>>  
>>
>> But I haven't find how to create Tables with Doctrine2.
>>
>> Any kind of info is appreciated.
>>
>> -- 
>> Ing. Oscar Balladares.
>> Cel: 8852-7766
>> Convencional: 2315-3821
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "doctrine-user" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/doctrine-user?hl=en.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "doctrine-user" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/doctrine-user?hl=en.
>>
>
>
>
> -- 
> Ing. Oscar Balladares.
> Cel: 8852-7766
> Convencional: 2315-3821
>
>

-- 
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