Table("ttmsd_webhook_types", key=("id"))[
Column("id", type="int",auto_increment=True),
Column("name", type="text"),],
then I expect to pass data to insert_into_table to work with a tuple like
("ttmsd_webhook_types",
("name"),
(("MS Teams",),
("Discord",))
)
but it doesnt, it give me a IndexError: tuple index out of range error and i need to define my tuple like
("ttmsd_webhook_types",
("id","name"),
((1,"MS Teams",),
(2,"Discord",))
)
for initial data that should be fine since i know what i add but if i want to update my types later on I always need to get the count of the id sequence first to not mess up.
Or do I simply miss stuff here ???
Cheers
MArkus