[Monetdb-developers] Simple bat operations

Kambiz Darabi darabi at m-creations.com
Thu Oct 11 07:13:34 CEST 2007


Hello,

sorry for asking so many dumb questions, but I don't seem
to be able to find the answers in the docs.

I try to create and persist a bat:

(mclient -d demo -l mal)

n := bat.new(:oid,:str);
bat.setName(n, "person_name");
bat.setPersistent(n, true);

bat.append(n, "John", true);
bat.append(n, "James", true);

bat.save(n);

But this doesn't seem to be sufficient.

Or at least I then don't know how to load this bat the next
time I start mclient.

Is there a file (one of the tests or sth.) which contains
such basic tests? I tried to find-grep over them, but didn't
succeed in finding what I was looking for.


Thanks you for your patience.


Kambiz





More information about the developers-list mailing list