Brian,

Brian Aker wrote at 2010-11-05 22:19:39 -0700:
Suggestion for a name?

First when I read Arjen's comments I thought it was about multiset/bag, but when reading the blueprint I get a bit lost. Would be nice with some more examples.

CREATE TABLE a ( a SET);

INSERT INTO A VALUES ({'foo', 'dog'}, …);
INSERT INTO A VALUES ({'foo2', 'dog2'},...);

SELECT a FROM a;
{'foo', 'dog'}
{'foo2', 'dog2'}
2 rows

This looks clear.

CREATE TABLE a ( a SET('dog', 'foo');

CREATE TABLE b (a TUPLE);

Are these two related in some way? All those 'a's makes me confused. How about t1, t2... and c1, c2... instead?

INSERT INTO b VALUES ({{'name' => 'Brian'}, { 'last' => 'Aker'}});

Some examples of SELECT and adding more people would probably make it more clear.

CREATE TABLE b (a TUPLE('name', 'last');

INSERT INTO b VALUES ({{'name' => 'Brian'}, { 'last' => 'Aker'}});

How does TUPLE/SET with arguments differ from one without?

/Gustaf

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to