Re: Re[2]: newbie question - writing derived view back to db

Jean-Claude Wippler <[email protected]>
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
Marcin Krol wrote:

> BK> vw2 = st.getas("test_save[a:i,b:s"])
[...]
> However, there's another silly problem here remaining: how to delete
> the old view 'test' from the db and rename 'test_save' to 'test'?

Try:
	st.getas("test_save")
(note the absence of brackets and fields)

As for renaming, you'll have to copy things over, I'm afraid.

-jcw

_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.