Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 27 Pomógł: 0 Dołączył: 7.03.2003 Skąd: Warszawa Ostrzeżenie: (0%)
|
Czy istnieje w doctrine obsługa tabel w odwróconym wymiarze?
Mam tabelę: Kod User: tableName: users columns: id: { type: integer, unsigned: true, primary: true, autoincrement: true } login: { type: string(20) } UserProfile: tableName: users_profiles columns: user_id: { type: integer, unsigned: true, primary: true } key: { type: string(50) } value: { type: string(255) } zapełnioną danymi: Kod User: user_1: login: user1 UserProfile: user_1_profile_1: key: email value: xxx@xxx.pl user_1_profile_2: key: birthday value: 2000-12-02 i chcę się odwołać do emaila przez:
Da się to zrobić używając rozwiązań z doctrine? Ten post edytował mdx 4.09.2009, 11:36:13 |
|
|
|
mdx [doctrine] sub obiekt z tabeli (rel_id, key, value) 4.09.2009, 11:34:20
murwazy uzyj DQL wraz z INDEXBY i zapisu $user['p... 4.09.2009, 14:36:33 
AxZx Cytat(murwazy @ 4.09.2009, 15:36:33 )... 4.09.2009, 15:02:13
Crozin Trochę poza tematem... czy konstrukcja na zasadzie... 4.09.2009, 15:52:04
mdx Cytat(murwazy @ 4.09.2009, 15:36:33 )... 4.09.2009, 17:02:26
murwazy Cytat(mdx @ 4.09.2009, 18:02:26 ) No ... 6.09.2009, 08:50:29
AxZx Cytat(murwazy @ 6.09.2009, 09:50:29 )... 6.09.2009, 20:45:54
murwazy Cytat(AxZx @ 6.09.2009, 21:45:54 ) zn... 7.09.2009, 10:56:32 ![]() ![]() |
|
Aktualny czas: 27.12.2025 - 04:54 |