{ "db": "SQLite", "0bb37cc79d5ef803285d05d06e6ef93b62c0b532c0298148fe436178761fd70a": { "describe": { "columns": [ { "name": "ID", "ordinal": 0, "type_info": "Int64" } ], "nullable": [ false ], "parameters": { "Right": 1 } }, "query": "SELECT ID FROM starchart_forges WHERE hostname = $1" }, "0fbcc736f60b14d55fbd88031a2929d04de02f5244345c2bc0f0e58d4c29cb14": { "describe": { "columns": [ { "name": "html_url", "ordinal": 0, "type_info": "Text" }, { "name": "profile_photo_html_url", "ordinal": 1, "type_info": "Text" }, { "name": "imported", "ordinal": 2, "type_info": "Bool" } ], "nullable": [ false, true, false ], "parameters": { "Right": 2 } }, "query": "SELECT html_url, profile_photo_html_url, imported FROM starchart_users WHERE username = $1 AND \n hostname_id = (SELECT ID FROM starchart_forges WHERE hostname = $2)" }, "1b88e5b97fd62fe5036ea3c87c90315f8d368542a8f2e12a0d542d1317a612db": { "describe": { "columns": [ { "name": "hostname", "ordinal": 0, "type_info": "Text" }, { "name": "last_crawl_on", "ordinal": 1, "type_info": "Int64" }, { "name": "name", "ordinal": 2, "type_info": "Text" }, { "name": "imported", "ordinal": 3, "type_info": "Bool" } ], "nullable": [ false, true, false, false ], "parameters": { "Right": 2 } }, "query": "SELECT\n hostname,\n last_crawl_on,\n starchart_forge_type.name,\n imported\n FROM\n starchart_forges\n INNER JOIN\n starchart_forge_type\n ON\n starchart_forges.forge_type = starchart_forge_type.id\n ORDER BY\n starchart_forges.ID\n LIMIT $1 OFFSET $2;\n " }, "1d98f7afc772f43fb7131131517f831ec9add25ec3f66881143d6d9baa9e2cc6": { "describe": { "columns": [ { "name": "hostname", "ordinal": 0, "type_info": "Text" }, { "name": "last_crawl_on", "ordinal": 1, "type_info": "Int64" }, { "name": "imported", "ordinal": 2, "type_info": "Bool" }, { "name": "name", "ordinal": 3, "type_info": "Text" } ], "nullable": [ false, true, false, false ], "parameters": { "Right": 1 } }, "query": "SELECT \n hostname,\n last_crawl_on,\n imported,\n starchart_forge_type.name\n FROM\n starchart_forges\n INNER JOIN\n starchart_forge_type\n ON\n starchart_forges.forge_type = starchart_forge_type.id\n WHERE\n hostname = $1;\n " }, "2afb17ba3753aa440465a836b46b7a1466f25791cfc4d0acdd38bc2755ae3e86": { "describe": { "columns": [ { "name": "ID", "ordinal": 0, "type_info": "Int64" } ], "nullable": [ false ], "parameters": { "Right": 1 } }, "query": "SELECT ID FROM starchart_users WHERE username = $1" }, "30de2d37dd1bd602249cd2adfab499e41105249c20dc58cb360f539d6a782fa1": { "describe": { "columns": [ { "name": "ID", "ordinal": 0, "type_info": "Int64" } ], "nullable": [ false ], "parameters": { "Right": 1 } }, "query": "SELECT ID FROM starchart_forge_type WHERE name = $1" }, "338fb30307071e6df9efee6a68697c60e579d7b2332630bce401c0e7186a642a": { "describe": { "columns": [], "nullable": [], "parameters": { "Right": 7 } }, "query": "INSERT INTO \n starchart_users (\n hostname_id, username, html_url,\n profile_photo_html_url, added_on, last_crawl_on, imported\n ) \n VALUES (\n (SELECT ID FROM starchart_forges WHERE hostname = $1), $2, $3, $4, $5, $6, $7)" }, "364c8e3d147318b864fd28ad284f225aaace9479b5cf0428fb97f0e5689e248d": { "describe": { "columns": [], "nullable": [], "parameters": { "Right": 2 } }, "query": " DELETE FROM starchart_users WHERE username = $1 AND \n hostname_id = (SELECT ID FROM starchart_forges WHERE hostname = $2)" }, "6f5ca3d71a541eb6f33e37a5889c048536ab6ad7e81a6236d73aa71433c13717": { "describe": { "columns": [], "nullable": [], "parameters": { "Right": 1 } }, "query": "INSERT OR IGNORE INTO starchart_project_topics ( name ) VALUES ( $1 );" }, "71079442588dfaece04582acdb14d2c8928c695d4eab5332d09b82cefc880d54": { "describe": { "columns": [ { "name": "ID", "ordinal": 0, "type_info": "Int64" } ], "nullable": [ false ], "parameters": { "Right": 3 } }, "query": "SELECT ID FROM starchart_repositories\n WHERE \n name = $1\n AND\n owner_id = ( SELECT ID FROM starchart_users WHERE username = $2)\n AND\n hostname_id = (SELECT ID FROM starchart_forges WHERE hostname = $3)" }, "78e53b067f8706f326fe06d184f8d94dd2c1869f89706e88afa9a0b19717229c": { "describe": { "columns": [ { "name": "hostname", "ordinal": 0, "type_info": "Text" }, { "name": "username", "ordinal": 1, "type_info": "Text" }, { "name": "name", "ordinal": 2, "type_info": "Text" }, { "name": "description", "ordinal": 3, "type_info": "Text" }, { "name": "html_url", "ordinal": 4, "type_info": "Text" }, { "name": "ID", "ordinal": 5, "type_info": "Int64" }, { "name": "website", "ordinal": 6, "type_info": "Text" }, { "name": "imported", "ordinal": 7, "type_info": "Bool" } ], "nullable": [ false, false, false, true, false, false, true, false ], "parameters": { "Right": 2 } }, "query": "SELECT \n starchart_forges.hostname,\n starchart_users.username,\n starchart_repositories.name,\n starchart_repositories.description,\n starchart_repositories.html_url,\n starchart_repositories.ID,\n starchart_repositories.website,\n starchart_repositories.imported\n FROM\n starchart_repositories\n INNER JOIN\n starchart_forges\n ON\n starchart_repositories.hostname_id = starchart_forges.id\n INNER JOIN\n starchart_users\n ON\n starchart_repositories.owner_id = starchart_users.id\n ORDER BY\n starchart_repositories.ID\n LIMIT $1 OFFSET $2\n ;" }, "9978a056397522cf1375900bb00c55bc17685dcc9cb22127b21a24b194a1e536": { "describe": { "columns": [], "nullable": [], "parameters": { "Right": 4 } }, "query": "INSERT INTO\n starchart_forges (hostname, verified_on, forge_type, imported) \n VALUES ($1, $2, (SELECT ID FROM starchart_forge_type WHERE name = $3), $4)" }, "a81dd4b5df666e22fac211092e7b8425d838dd9023aa2b17659352f30831944d": { "describe": { "columns": [ { "name": "ID", "ordinal": 0, "type_info": "Int64" } ], "nullable": [ false ], "parameters": { "Right": 2 } }, "query": "SELECT ID FROM starchart_users WHERE username = $1 AND \n hostname_id = (SELECT ID FROM starchart_forges WHERE hostname = $2)" }, "ca22e5f6e7065cf2d4ffdbfac0084f9871de8cd9073d470cbf7eac2de2a73c47": { "describe": { "columns": [], "nullable": [], "parameters": { "Right": 9 } }, "query": "INSERT INTO \n starchart_repositories (\n hostname_id, owner_id, name, description, html_url, website, created,\n last_crawl, imported\n )\n VALUES (\n (SELECT ID FROM starchart_forges WHERE hostname = $1),\n (SELECT ID FROM starchart_users WHERE username = $2),\n $3, $4, $5, $6, $7, $8, $9\n );" }, "e30ccfaa6aeda8cf30a2b3e9134abd0c0420441c5ed05189c3be605b1405c8e9": { "describe": { "columns": [], "nullable": [], "parameters": { "Right": 2 } }, "query": "\n INSERT INTO starchart_repository_topic_mapping ( topic_id, repository_id )\n VALUES (\n (SELECT ID FROM starchart_project_topics WHERE name = $1),\n (SELECT ID FROM starchart_repositories WHERE html_url = $2)\n );" }, "ed20e6fcac091172778119cdfc68c8e511224205a0bb7c74df192dcdfbfe63f2": { "describe": { "columns": [], "nullable": [], "parameters": { "Right": 3 } }, "query": " DELETE FROM starchart_repositories\n WHERE \n name = $1\n AND\n owner_id = ( SELECT ID FROM starchart_users WHERE username = $2)\n AND\n hostname_id = (SELECT ID FROM starchart_forges WHERE hostname = $3)" }, "f162b8469f951609e5fa026fa14b074361a4c206b34a8e6ed048d2e54157f4bb": { "describe": { "columns": [ { "name": "name", "ordinal": 0, "type_info": "Text" } ], "nullable": [ false ], "parameters": { "Right": 1 } }, "query": "SELECT name FROM starchart_project_topics WHERE ID = (\n SELECT topic_id FROM starchart_repository_topic_mapping WHERE repository_id = $1\n )" }, "f52cde89ec10d5ca2151c9df6ae273ee0d52af9f79bb776765cfa716aad6af53": { "describe": { "columns": [], "nullable": [], "parameters": { "Right": 1 } }, "query": "DELETE FROM starchart_forges WHERE hostname = ($1)" } }