Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  How to config with a table has more than 1 key field ?

phpMyEdit General     How to config with a table has more than 1 key field ?
Odoslať novú tému   Odpovedať na tému    
 
larry     Založený: 27.02.2003   Príspevky: 2  
Príspevok Zaslal: 2003-02-27 17:36
Návrat hore  Odpovedať s citátom     

How to config phpmyedit with a table has more than 1 key field ? My table has 2 field as key

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-02-28 03:21
Návrat hore  Odpovedať s citátom     

Well, no version ever have support for this matter. However, I believe this is put on long term TODO list. Initialization can be probably made with $opts['key'] = array('col1', 'col2'). But it is not implemented now and won't be in 5.3 as well.

 
hbernard     Založený: 23.03.2003   Príspevky: 159   Bydlisko: FRANCE
Príspevok Zaslal: 2003-07-29 10:28
Návrat hore  Odpovedať s citátom     

Nepto, if you had previous thoughts about multiple key fields, can you tell some issues, eventually the piece of code that need to be patched to support such feature

I didn't want to overload bug-tracker ;-), but if you think this more appropriate to fill in a bug please do so.

 
nepto     Založený: 06.01.2003   Príspevky: 320   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2003-07-29 11:39
Návrat hore  Odpovedať s citátom     

It's all about priorities. Since my employment in Nextra Slovakia ISP I have limited time to develop open-source (actually only evenings and weekends, during day I only can answer the issues in tracker and forums).

Do you think this feature is important? I did not hear so much voices requesting this.

 
hbernard     Založený: 23.03.2003   Príspevky: 159   Bydlisko: FRANCE
Príspevok Zaslal: 2003-07-29 13:44
Návrat hore  Odpovedať s citátom     

hum... No _very_ important, it was just in case of you have already some draft

Usually, I use PME to small database with simple model.

But currently, PME will be used to design the admin interface of a "big" project (I mean with a complex database-model)..
.... with multiples keys :-(

My goal is only to be able to basicly handle thoses tables.

So I'm working in different direction to make this possible :
- add native multiple key support
- use the 'sql' options + an additionnal composite field as a workaround (see the http://opensource.platon.sk/projects/bug_view_advanced_page.php?f_bug_id=121)

The second doesn't seem so hard.

Another way was to handle multiple key in a 'virtual' field.
There seems to be a start in documentation about 'expression' option, but this one is commented out...

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov