2022-09-10 19:29:22 +05:30
{
2022-09-10 20:08:59 +05:30
"db" : "PostgreSQL" ,
"1be33ea4fe0e6079c88768ff912b824f4b0250193f2d086046c1fd0da125ae0c" : {
"describe" : {
"columns" : [
{
"name" : "name" ,
"ordinal" : 0 ,
"type_info" : "Varchar"
} ,
{
"name" : "password" ,
"ordinal" : 1 ,
"type_info" : "Text"
}
] ,
"nullable" : [
false ,
false
] ,
"parameters" : {
"Left" : [
"Text"
]
}
} ,
"query" : "SELECT name, password FROM librepages_users WHERE name = ($1)"
} ,
"279b5ae27935279b06d2799eef2da6a316324a05d23ba7a729c608c70168c496" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Varchar" ,
"Text"
]
}
} ,
"query" : "UPDATE librepages_users set name = $1\n WHERE name = $2"
} ,
2022-11-09 14:01:15 +05:30
"416b9f0412f0d7ee05d4a350839c5a6d1e06c1d7f8942744f6d806ddc47084c2" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Text" ,
"Text"
]
}
} ,
"query" : "DELETE FROM librepages_sites\n WHERE hostname = ($1)\n AND owned_by = ( SELECT ID FROM librepages_users WHERE name = $2);\n "
} ,
2022-09-10 20:08:59 +05:30
"5c5d774bde06c0ab83c3616a56a28f12dfd9c546cbaac9f246d3b350c587823e" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Text"
]
}
} ,
"query" : "DELETE FROM librepages_users WHERE name = ($1)"
} ,
2022-11-09 14:01:15 +05:30
"67311c6196639edd153b7b7dd56a37703b67abe750b88f5afdcf0d3d779432e7" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Varchar" ,
"Varchar" ,
"Text" ,
"Varchar" ,
"Text"
]
}
} ,
"query" : "\n INSERT INTO librepages_sites\n (site_secret, repo_url, branch, hostname, owned_by)\n VALUES ($1, $2, $3, $4, ( SELECT ID FROM librepages_users WHERE name = $5 ));\n "
} ,
2022-09-10 20:08:59 +05:30
"6a557f851d4f47383b864085093beb0954e79779f21b655978f07e285281e0ac" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Varchar" ,
"Text"
]
}
} ,
"query" : "UPDATE librepages_users set email = $1\n WHERE name = $2"
} ,
"8735b654bc261571e6a5908d55a8217474c76bdff7f3cbcc71500a0fe13249db" : {
"describe" : {
"columns" : [
{
"name" : "exists" ,
"ordinal" : 0 ,
"type_info" : "Bool"
}
] ,
"nullable" : [
null
] ,
"parameters" : {
"Left" : [
"Text"
]
}
} ,
"query" : "SELECT EXISTS (SELECT 1 from librepages_users WHERE email = $1)"
} ,
"924e756de5544cece865a10a7e136ecc6126e3a603947264cc7899387c18c819" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Text" ,
"Text"
]
}
} ,
"query" : "UPDATE librepages_users set password = $1\n WHERE name = $2"
} ,
2022-11-09 14:01:15 +05:30
"9fd163d10860ad4519f9398582aaa0615d6d7b784e844ee71038f77dcd069eed" : {
2022-09-10 20:08:59 +05:30
"describe" : {
2022-11-09 14:01:15 +05:30
"columns" : [
{
"name" : "site_secret" ,
"ordinal" : 0 ,
"type_info" : "Varchar"
} ,
{
"name" : "repo_url" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "branch" ,
"ordinal" : 2 ,
"type_info" : "Text"
} ,
{
"name" : "hostname" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
}
] ,
"nullable" : [
false ,
false ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Text"
]
}
} ,
"query" : "SELECT site_secret, repo_url, branch, hostname\n FROM librepages_sites\n WHERE owned_by = (SELECT ID FROM librepages_users WHERE name = $1 );\n "
} ,
"aad26d1f932001cbe49b147348aa528eca5101ec6ef83cb034e1ccd0dbd17878" : {
"describe" : {
"columns" : [
{
"name" : "site_secret" ,
"ordinal" : 0 ,
"type_info" : "Varchar"
} ,
{
"name" : "repo_url" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "branch" ,
"ordinal" : 2 ,
"type_info" : "Text"
} ,
{
"name" : "hostname" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
}
] ,
"nullable" : [
false ,
false ,
false ,
false
] ,
2022-09-10 20:08:59 +05:30
"parameters" : {
"Left" : [
"Text" ,
2022-11-09 14:01:15 +05:30
"Text"
2022-09-10 20:08:59 +05:30
]
}
} ,
2022-11-09 14:01:15 +05:30
"query" : "SELECT site_secret, repo_url, branch, hostname\n FROM librepages_sites\n WHERE owned_by = (SELECT ID FROM librepages_users WHERE name = $1 )\n AND hostname = $2;\n "
2022-09-10 20:08:59 +05:30
} ,
"b48c77db6e663d97df44bf9ec2ee92fd3e02f2dcbcdbd1d491e09fab2da68494" : {
"describe" : {
"columns" : [
{
"name" : "name" ,
"ordinal" : 0 ,
"type_info" : "Varchar"
} ,
{
"name" : "password" ,
"ordinal" : 1 ,
"type_info" : "Text"
}
] ,
"nullable" : [
false ,
false
] ,
"parameters" : {
"Left" : [
"Text"
]
}
} ,
"query" : "SELECT name, password FROM librepages_users WHERE email = ($1)"
} ,
"bdd4d2a1b0b97ebf8ed61cfd120b40146fbf3ea9afb5cd0e03c9d29860b6a26b" : {
"describe" : {
"columns" : [
{
"name" : "exists" ,
"ordinal" : 0 ,
"type_info" : "Bool"
}
] ,
"nullable" : [
null
] ,
"parameters" : {
"Left" : [
"Text"
]
}
} ,
"query" : "SELECT EXISTS (SELECT 1 from librepages_users WHERE name = $1)"
} ,
"ced69a08729ffb906e8971dbdce6a8d4197bc9bb8ccd7c58b3a88eb7be73fc2e" : {
"describe" : {
"columns" : [
{
"name" : "email" ,
"ordinal" : 0 ,
"type_info" : "Varchar"
}
] ,
"nullable" : [
false
] ,
"parameters" : {
"Left" : [
"Text"
]
}
} ,
"query" : "SELECT email FROM librepages_users WHERE name = $1"
2022-11-09 14:01:15 +05:30
} ,
"faa4170a309f19a4abf1ca3f8dd3c0526945aa00f028ebf8bd7063825d448f5b" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Varchar" ,
"Text" ,
"Varchar"
]
}
} ,
"query" : "INSERT INTO librepages_users\n (name , password, email) VALUES ($1, $2, $3)"
2022-09-10 20:08:59 +05:30
}
2022-09-10 19:29:22 +05:30
}