Re: Hash view questions
Jean-Claude Wippler <[email protected]> Wed, 1 Feb 2006 16:28:58 +0100
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > vw = metakit.view() > > But how do you "structure" this view? The .getas() method appears > to apply only to a storage. Correct. > Do you then need to create the individual properties and added them > to the view with view.addproperty()? Is there a more direct way > than this? I should probably give the Python experts time to respond. I think that also with Mk4py, properties get added as soon as they are set (added as temp props, since there is no backing store anyway). You could even add a row, set some properties, and then delete the row again. Not sure about subviews. Note that internally, views outside a storage are essentially just views with their private hidden in- memory storage under the hood. My suggestion would be: why not try it? -jcw _____________________________________________ Metakit mailing list - [email protected] http://www.equi4.com/mailman/listinfo/metakit