Experimenting with the new "Tables" Library

The table data is from 3.1.12 Tables
untitled script pic - 2026-02-18T134948.616
untitled script pic - 2026-02-18T134354.676
untitled script pic - 2026-02-18T134548.188
untitled script pic - 2026-02-18T134621.001
untitled script pic - 2026-02-18T134645.837
untitled script pic - 2026-02-18T134741.141

Question

Should this be in Advanced Topics > Development or Share your Projects ?

This looks overly convoluted to use. Now I’m tempted to make an SQL library..
Is this in the development version?

Yes, use the “table from” block. It will create a new table where the first is the header and the rest are cells.
untitled script pic - 2026-02-18T143902.635

you’re supposed to use Snap v12-dev for this

..I am.

She did…

This happens because _morph is a key-value pair used to display the table. If you flatten it, it isn’t a key-value pair anymore…

oh yeah, i didn’t realize that they were flattening the table…

Btw, not really important, but I go by she/her.
@redgeographysnap

Oh. OK, edited the post :+1:

Thanks! Although I think it would be a good idea to put your pronouns on your Snap! Forum profile description…

I think the claimed inference that someone’s least favorite color is opposite to their favorite color is incorrect. My favorites are orange and blue! And I suspect that red-green people also like both colors. (My least favorite spectral color is green. My least favorite altogether is olive drab.)

Yeah, I know. The reason for that is to provide an example for the EXTEND block (and also an excuse to try “Fair hues”)

this.
I just use they if I don’t know, but I think @redgeographysnap may have been here before you changed your name.

Is this a new data type? it seems to be JUST like a list one, but it also isn’t? I don’t really understand it.

It is a new type. There is a header and cells in each table.

It has named columns.

Alright, done.
This thread inspired me to start my own SQL-like library



image

can you share a project plz; It seem interesting…

edit: Never mind that, I didn’t realize it came from a library in the dev version….

One thing the table library’s tables have but not traditional Snap! tables is shaded header rows to differentiate the header from the rest of the table.

Yes, I see that. Your point?