I know I can define a table in Slick as follows:
class MyTable(tag: Tag)
but what is it exactly?
I read the docs and it says:
A Tag marks a specific row represented by an AbstractTable instance.
it does not help me,
- what does it means a specific row?
- how does it represents it?
- why do I need to define it in my ctor?
- why is it called a
Tag
what is it tagging? - I need to write this
Tag
when I create aTable
class, but I want to understand why I write this code, not just followslick
which tells me this is how you define a table.