{"body":"❯ raku polymorphic.raku\nSQL : BEGIN\nBIND: []\nSQL : CREATE TABLE \"comment\" (\n   id integer NOT NULL primary key AUTOINCREMENT,\n   body text NOT NULL ,\n   commentable_id integer NOT NULL ,\n   commentable_type text NOT NULL\n)\nBIND: []\nSQL : CREATE TABLE \"photo\" (\n   id integer NOT NULL primary key AUTOINCREMENT,\n   path text NOT NULL ,\n   UNIQUE (path)\n)\nBIND: []\nSQL : CREATE TABLE \"post\" (\n   id integer NOT NULL primary key AUTOINCREMENT,\n   title text NOT NULL ,\n   UNIQUE (title)\n)\nBIND: []\nSQL : COMMIT\nBIND: []\nSQL : BEGIN\nBIND: []\nSQL : INSERT INTO \"post\"(\n   title\n)\nVALUES(\n   ?\n)\nBIND: [\"bla\"]\nSQL : SELECT\n   \"post\".id , \"post\".title\nFROM\n   \"post\"\nWHERE\n   _rowid_ = last_insert_rowid()\nLIMIT 1\nBIND: []\nSQL : SELECT\n   \"post\".id , \"post\".title\nFROM\n   \"post\"\nWHERE\n   \"post\".id = 1\nLIMIT 1\nBIND: []\nSQL : COMMIT\nBIND: []\nSQL : BEGIN\nBIND: []\nSQL : INSERT INTO \"comment\"(\n   commentable_id,\n   commentable_type,\n   body\n)\nVALUES(\n   ?,\n   ?,\n   ?\n)\nBIND: [1, \"post\", \"blabla\"]\nSQL : SELECT\n   \"comment\".id , \"comment\".body , \"comment\".commentable_id as \"commentable-id\", \"comment\".commentable_type as \"commentable-type\"\nFROM\n   \"comment\"\nWHERE\n   _rowid_ = last_insert_rowid()\nLIMIT 1\nBIND: []\nSQL : SELECT\n   \"comment\".id , \"comment\".body , \"comment\".commentable_id as \"commentable-id\", \"comment\".commentable_type as \"commentable-type\"\nFROM\n   \"comment\"\nWHERE\n   \"comment\".id = 1\nLIMIT 1\nBIND: []\nSQL : COMMIT\nBIND: []\nSQL : BEGIN\nBIND: []\nSQL : INSERT INTO \"photo\"(\n   path\n)\nVALUES(\n   ?\n)\nBIND: [\"ble\"]\nSQL : SELECT\n   \"photo\".id , \"photo\".path\nFROM\n   \"photo\"\nWHERE\n   _rowid_ = last_insert_rowid()\nLIMIT 1\nBIND: []\nSQL : SELECT\n   \"photo\".id , \"photo\".path\nFROM\n   \"photo\"\nWHERE\n   \"photo\".id = 1\nLIMIT 1\nBIND: []\nSQL : COMMIT\nBIND: []\nSQL : BEGIN\nBIND: []\nSQL : INSERT INTO \"comment\"(\n   commentable_type,\n   commentable_id,\n   body\n)\nVALUES(\n   ?,\n   ?,\n   ?\n)\nBIND: [\"photo\", 1, \"bleble\"]\nSQL : SELECT\n   \"comment\".id , \"comment\".body , \"comment\".commentable_id as \"commentable-id\", \"comment\".commentable_type as \"commentable-type\"\nFROM\n   \"comment\"\nWHERE\n   _rowid_ = last_insert_rowid()\nLIMIT 1\nBIND: []\nSQL : SELECT\n   \"comment\".id , \"comment\".body , \"comment\".commentable_id as \"commentable-id\", \"comment\".commentable_type as \"commentable-type\"\nFROM\n   \"comment\"\nWHERE\n   \"comment\".id = 2\nLIMIT 1\nBIND: []\nSQL : COMMIT\nBIND: []","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/8y3a36Gg","modified":1754594268,"id":"8y3a36Gg","size":2354,"lines":140,"own_paste":false,"theme":"","date":1754594268}