[Metakit] how to transfert certain view and not all

Riccardo Cohen rcohen at articque.com
Tue Feb 21 18:18:31 CET 2006


Thanks brian, but in C can you append a view to another ?
I did not find any append in C api for view.
I found "concat" but this function does not copy data :

doc of Concat() : <<<This operation is a bit similar to appending all rows from the second 
view, but it does not actually store the result anywhere, it just looks like it.>>>

Brian Kelley wrote:
> The short answer is yes.  If you open up two storages, say A and B and
> want to transfer the contents of A.view1 to B.view2 just make an ampty
> B.view2 with the same description as A.view1 and then append A.view1
> to B.view2.
> 
> I only know how to append a view to another view in python, but I have
> done this before.
> 
> Cheers,
> brian
> 
> On 2/20/06, Riccardo Cohen <rcohen at articque.com> wrote:
> 
>>Hi
>>I have a database in my application. I made a new version, and I must change some view
>>structures, add some properties etc. But other view remain unchanged. So at startup I
>>check the database version, and create a new database from the old one if needed.
>>
>>Is there any way to open 2 storages, and transfert the content of some (unchanged) views
>>quickly without adding all records one by one ?
>>
>>Thanks
>>
>>--
>>Riccardo Cohen
>>
>>Articque
>>Les Roches
>>37230 Fondettes
>>France
>>web = http://www.articque.com
>>tel: +33 02 47 49 90 49
>>fax: +33 02 47 49 91 49
>>_____________________________________________
>>Metakit mailing list  -  Metakit at equi4.com
>>http://www.equi4.com/mailman/listinfo/metakit
>>
> 
> 

-- 
Riccardo Cohen

Articque
Les Roches
37230 Fondettes
France
web = http://www.articque.com
tel: +33 02 47 49 90 49
fax: +33 02 47 49 91 49


More information about the Metakit mailing list