[Metakit] newbie question - writing derived view back to db
mark at wbp.krakow.pl
Tue Jan 18 23:02:10 CET 2005
BK> vw2 = st.getas("test_save[a:i,b:s"])
OK, I've tried what you wrote and it works, thanks.
However, there's another silly problem here remaining: how to delete
the old view 'test' from the db and rename 'test_save' to 'test'?
I've checked with Kitviewer that deleting all the rows from test
doesn't eliminate the view itself (it just becomes empty, but it's
still there), while view.rename('oldname', 'newname') is renaming
properties and not views.
I can't find anything about deleting the view itself from the db in
the docs either. In SQL there's obviously DROP TABLE, but I can't find
anything here that would be an equivalent of such an operation.
Sorry for questions about all those trivial issues, if I could find it
in the docs I would not bother you with this...
Marcin mailto:mark at wbp.krakow.pl
More information about the Metakit