2023-03-19 16:22:33 +00:00
{
"db" : "PostgreSQL" ,
"0c4873abb3c8b85936d39d304a1246e7ea1ed205ddac4082c1d6565eb40ba05a" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Uuid"
]
}
} ,
"query" : "DELETE FROM agent WHERE id = $1;"
} ,
2023-03-19 20:34:58 +00:00
"19a20556f5e3621438cd583aae4984c8cf510f359f65ec599f8a6b46d9153ec4" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "project_id" ,
"ordinal" : 1 ,
"type_info" : "Uuid"
} ,
{
"name" : "price_usd" ,
"ordinal" : 2 ,
"type_info" : "Float8"
} ,
{
"name" : "unit_type: _" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "rooms" ,
"ordinal" : 4 ,
"type_info" : "Int2"
} ,
{
"name" : "bathrooms" ,
"ordinal" : 5 ,
"type_info" : "Int2"
} ,
{
"name" : "area" ,
"ordinal" : 6 ,
"type_info" : "Float4"
} ,
{
"name" : "description" ,
"ordinal" : 7 ,
"type_info" : "Text"
} ,
{
"name" : "media: _" ,
"ordinal" : 8 ,
"type_info" : "Text"
} ,
{
"name" : "admin_tag" ,
"ordinal" : 9 ,
"type_info" : "Varchar"
} ,
{
"name" : "time_created" ,
"ordinal" : 10 ,
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
"ordinal" : 11 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false ,
true ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Uuid"
]
}
} ,
"query" : "SELECT \nid,\nproject_id,\nprice_usd,\nunit_type as \"unit_type: _\",\nrooms,\nbathrooms,\narea,\ndescription,\nmedia as \"media: _\",\nadmin_tag,\ntime_created,\nlast_updated\nFROM unit WHERE id = $1;"
} ,
2023-04-14 20:46:35 +00:00
"1a0e9afaad6fea6593538fe8c4469c3d985f75ffb35f48a1f7385ecb9e3b28a9" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Varchar" ,
"Varchar" ,
"Varchar" ,
"Varchar" ,
"Timestamptz"
]
}
} ,
"query" : "INSERT INTO contact (\n first_name, last_name, credential, message, time_created\n) VALUES ($1, $2, $3, $4, $5)"
} ,
"29e776da6e36e6e9c8a4e6c8df65ccce8af5e3d0e9aa9b064c11d39982f2c99d" : {
"describe" : {
"columns" : [
{
"name" : "count" ,
"ordinal" : 0 ,
"type_info" : "Int8"
}
] ,
"nullable" : [
null
] ,
"parameters" : {
"Left" : [ ]
}
} ,
"query" : "SELECT COUNT(*) FROM contact;"
} ,
"36f6cb77e7421f42604c6f248cc69d557856cfbc9598c45c31628874db8921f0" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Uuid"
]
}
} ,
"query" : "DELETE FROM location where id = $1;"
} ,
2023-04-23 00:45:15 +00:00
"44a6ca26f099484f650c58858cc54aae7e1210b9618ad6b123f22e02db729381" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "shortcode" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "full_name" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
"name" : "credential" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "credential_type: _" ,
"ordinal" : 4 ,
"type_info" : "Varchar"
} ,
{
"name" : "profile_picture_url" ,
"ordinal" : 5 ,
"type_info" : "Varchar"
} ,
{
"name" : "time_created" ,
"ordinal" : 6 ,
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
"ordinal" : 7 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Text"
]
}
} ,
"query" : "SELECT \n id,\n shortcode,\n full_name,\n credential,\n credential_type as \"credential_type: _\",\n profile_picture_url,\n time_created,\n last_updated\nFROM agent where shortcode = $1;"
} ,
2023-04-14 20:46:35 +00:00
"4ef2f2177dd00503913e281cf97bd922bcdc4b30ed834505eb8ea9a396f73331" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Uuid"
]
}
} ,
"query" : "DELETE FROM project WHERE id = $1;"
} ,
"50bc13e98126bfda724eb65361386954340191d524174605e962479bf9799446" : {
2023-03-19 16:22:33 +00:00
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "shortcode" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "full_name" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "credential" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "credential_type: _" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 4 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "profile_picture_url" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 5 ,
2023-04-14 20:46:35 +00:00
"type_info" : "Varchar"
} ,
{
"name" : "time_created" ,
"ordinal" : 6 ,
2023-03-19 16:22:33 +00:00
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
2023-04-14 20:46:35 +00:00
"ordinal" : 7 ,
2023-03-19 16:22:33 +00:00
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
2023-04-14 20:46:35 +00:00
false ,
2023-03-19 16:22:33 +00:00
false
] ,
"parameters" : {
"Left" : [
"UuidArray"
]
}
} ,
2023-04-14 20:46:35 +00:00
"query" : "SELECT \n id,\n shortcode,\n full_name,\n credential,\n credential_type as \"credential_type: _\",\n profile_picture_url,\n time_created,\n last_updated\nFROM agent where id = ANY($1)\nORDER BY time_created DESC;"
2023-03-19 16:22:33 +00:00
} ,
2023-04-14 20:46:35 +00:00
"581359d322685ee14958a69929947ad8a0be09da9c02a214b4a3f235f2f1f5d7" : {
2023-03-24 12:38:31 +00:00
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Uuid"
]
}
} ,
2023-04-14 20:46:35 +00:00
"query" : "DELETE FROM unit WHERE id = $1;"
2023-03-24 12:38:31 +00:00
} ,
2023-04-23 00:45:15 +00:00
"58c56b5239d3756507a0dbedf40217a7e345c4a60b1042d0cbabf49dc80d1aa4" : {
2023-03-19 16:22:33 +00:00
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "shortcode" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "full_name" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "credential" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "credential_type: _" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 4 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "profile_picture_url" ,
2023-03-24 12:38:31 +00:00
"ordinal" : 5 ,
2023-03-19 16:22:33 +00:00
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "time_created" ,
2023-03-24 12:38:31 +00:00
"ordinal" : 6 ,
2023-04-14 20:46:35 +00:00
"type_info" : "Timestamptz"
2023-03-19 16:22:33 +00:00
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "last_updated" ,
2023-03-24 12:38:31 +00:00
"ordinal" : 7 ,
2023-04-14 20:46:35 +00:00
"type_info" : "Timestamptz"
2023-03-19 16:22:33 +00:00
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false
] ,
"parameters" : {
2023-04-14 20:46:35 +00:00
"Left" : [ ]
2023-03-19 16:22:33 +00:00
}
} ,
2023-04-23 00:45:15 +00:00
"query" : "SELECT\n id,\n shortcode,\n full_name,\n credential,\n credential_type as \"credential_type: _\",\n profile_picture_url,\n time_created,\n last_updated\nFROM agent\nORDER BY full_name ASC;"
} ,
"70fa05f0ac30cba1fb2c3c356d1da567a1b3b417bdfd313f1d3b55c550e217f0" : {
"describe" : {
"columns" : [
{
"name" : "count" ,
"ordinal" : 0 ,
"type_info" : "Int8"
}
] ,
"nullable" : [
null
] ,
"parameters" : {
"Left" : [ ]
}
} ,
"query" : "SELECT COUNT(*) FROM visit;"
2023-03-19 16:22:33 +00:00
} ,
"825e1ac484241349c54e75bb77186ce41ea98fd17cabd7308e737a6c9c5812a9" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "project_id" ,
"ordinal" : 1 ,
"type_info" : "Uuid"
} ,
{
"name" : "price_usd" ,
"ordinal" : 2 ,
"type_info" : "Float8"
} ,
{
"name" : "unit_type: _" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "rooms" ,
"ordinal" : 4 ,
"type_info" : "Int2"
} ,
{
"name" : "bathrooms" ,
"ordinal" : 5 ,
"type_info" : "Int2"
} ,
{
"name" : "area" ,
"ordinal" : 6 ,
"type_info" : "Float4"
} ,
{
"name" : "description" ,
"ordinal" : 7 ,
"type_info" : "Text"
} ,
{
"name" : "media: _" ,
"ordinal" : 8 ,
"type_info" : "Text"
} ,
{
"name" : "admin_tag" ,
"ordinal" : 9 ,
"type_info" : "Varchar"
} ,
{
"name" : "time_created" ,
"ordinal" : 10 ,
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
"ordinal" : 11 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false ,
true ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Float8" ,
"Varchar" ,
"Int2" ,
"Int2" ,
"Float4" ,
"Text" ,
"Text" ,
"Varchar" ,
"Timestamptz" ,
"Uuid"
]
}
} ,
"query" : "UPDATE unit SET \n price_usd = $1,\n unit_type = $2,\n rooms = $3,\n bathrooms = $4,\n area = $5,\n description = $6,\n media = $7,\n admin_tag = $8,\n last_updated = $9\nWHERE id = $10\nRETURNING \n id,\n project_id,\n price_usd,\n unit_type as \"unit_type: _\",\n rooms,\n bathrooms,\n area,\n description,\n media as \"media: _\",\n admin_tag,\n time_created,\n last_updated;"
} ,
2023-04-14 20:46:35 +00:00
"84c66265921772efe5e83baaa94609aa8684ca33d15d626f194f8dc9ceba025d" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Varchar" ,
"Timestamptz"
]
}
} ,
"query" : "INSERT INTO visit (ip_addr, time_created) VALUES ($1, $2);"
} ,
"8f26059162e14cf6f2201cf89ce3782b6f0a534c9084be11a04e8b672388ab7c" : {
2023-03-19 16:22:33 +00:00
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "shortcode" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "full_name" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "credential" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "credential_type: _" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 4 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "profile_picture_url" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 5 ,
2023-04-14 20:46:35 +00:00
"type_info" : "Varchar"
} ,
{
"name" : "time_created" ,
"ordinal" : 6 ,
2023-03-19 16:22:33 +00:00
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
2023-04-14 20:46:35 +00:00
"ordinal" : 7 ,
2023-03-19 16:22:33 +00:00
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
2023-04-14 20:46:35 +00:00
false ,
2023-03-19 16:22:33 +00:00
false
] ,
"parameters" : {
"Left" : [
"Uuid" ,
"Varchar" ,
"Varchar" ,
"Varchar" ,
"Varchar" ,
2023-04-14 20:46:35 +00:00
"Varchar" ,
2023-03-19 16:22:33 +00:00
"Timestamptz"
]
}
} ,
2023-04-14 20:46:35 +00:00
"query" : "INSERT INTO agent (\n id, shortcode, full_name, credential, credential_type, profile_picture_url, time_created, last_updated\n) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $7\n) RETURNING\nid,\nshortcode,\nfull_name,\ncredential,\ncredential_type as \"credential_type: _\",\nprofile_picture_url,\ntime_created,\nlast_updated;"
2023-03-19 16:22:33 +00:00
} ,
2023-04-25 12:47:48 +00:00
"919dc414e70785bed4b999412b2ce5c46cb07e4aefb6a8c74bde23fcca9a4759" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "project_state: _" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "project_type: _" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
"name" : "project_condition: _" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "city" ,
"ordinal" : 4 ,
"type_info" : "Varchar"
} ,
{
"name" : "starts_from" ,
"ordinal" : 5 ,
"type_info" : "Float8"
} ,
{
"name" : "district" ,
"ordinal" : 6 ,
"type_info" : "Varchar"
} ,
{
"name" : "finish_date" ,
"ordinal" : 7 ,
"type_info" : "Timestamp"
} ,
{
"name" : "media: _" ,
"ordinal" : 8 ,
"type_info" : "Text"
} ,
{
"name" : "admin_tag" ,
"ordinal" : 9 ,
"type_info" : "Varchar"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
null ,
false ,
false ,
false ,
true
] ,
"parameters" : {
"Left" : [
"Text" ,
"Text" ,
"Text" ,
"Text" ,
"Text" ,
"Int2" ,
"Int8"
]
}
} ,
"query" : "SELECT \n p.id,\n p.project_state as \"project_state: _\",\n p.project_type as \"project_type: _\",\n p.project_condition as \"project_condition: _\",\n l.city,\n (SELECT (SELECT u.price_usd FROM unit u WHERE u.project_id = p.id ORDER BY u.price_usd DESC LIMIT 1)) as starts_from,\n l.district,\n p.finish_date,\n p.media as \"media: _\",\n p.admin_tag\nFROM project p, location l\nWHERE p.location_id = l.id\n-- Filters here:\nAND (LOWER(l.city) LIKE '%' || LOWER($1) || '%' OR $1 IS null) -- City Filter\nAND (LOWER(l.district) LIKE '%' || LOWER($2) || '%' OR $2 IS null) -- District Filter\nAND (p.project_type = $3 OR $3 IS null) -- ProjectType\nAND (p.project_condition = $4 OR $4 IS null) -- ProjectCondition\nAND (p.project_state = $5 OR $5 IS null) -- ProjectState\nAND ((SELECT COUNT(*) FROM unit u WHERE u.project_id = p.id AND u.rooms = $6) > 0 OR $6 IS NULL)\n-- End of filters\nORDER BY p.time_created DESC\nLIMIT 50 OFFSET $7;"
} ,
2023-04-14 20:46:35 +00:00
"924abcf88270de74ab6524fbd4247b2c23ab96b4569c8b81ff6b0e1d7dacada7" : {
2023-03-19 16:22:33 +00:00
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "shortcode" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "full_name" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "credential" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "credential_type: _" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 4 ,
"type_info" : "Varchar"
} ,
{
2023-04-14 20:46:35 +00:00
"name" : "profile_picture_url" ,
2023-03-19 16:22:33 +00:00
"ordinal" : 5 ,
2023-04-14 20:46:35 +00:00
"type_info" : "Varchar"
} ,
{
"name" : "time_created" ,
"ordinal" : 6 ,
2023-03-19 16:22:33 +00:00
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
2023-04-14 20:46:35 +00:00
"ordinal" : 7 ,
2023-03-19 16:22:33 +00:00
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
2023-04-14 20:46:35 +00:00
false ,
2023-03-19 16:22:33 +00:00
false
] ,
"parameters" : {
2023-04-14 20:46:35 +00:00
"Left" : [
"Varchar" ,
"Varchar" ,
"Varchar" ,
"Varchar" ,
"Varchar" ,
"Timestamptz" ,
"Uuid"
]
2023-03-19 16:22:33 +00:00
}
} ,
2023-04-14 20:46:35 +00:00
"query" : "UPDATE agent SET\n full_name = $1,\n shortcode = $2,\n credential = $3,\n credential_type = $4,\n profile_picture_url = $5,\n last_updated = $6\nWHERE id = $7\nRETURNING \n id,\n shortcode,\n full_name,\n credential,\n credential_type as \"credential_type: _\",\n profile_picture_url,\n time_created,\n last_updated;"
2023-03-19 16:22:33 +00:00
} ,
2023-04-25 13:22:21 +00:00
"971799e74ce858ded9f6b5206c7e7b38cc2817c0bed4be889546028b30b74e3d" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "shortcode" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "full_name" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
"name" : "credential" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "credential_type: _" ,
"ordinal" : 4 ,
"type_info" : "Varchar"
} ,
{
"name" : "profile_picture_url" ,
"ordinal" : 5 ,
"type_info" : "Varchar"
} ,
{
"name" : "time_created" ,
"ordinal" : 6 ,
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
"ordinal" : 7 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Uuid"
]
}
} ,
"query" : "SELECT \n id,\n shortcode,\n full_name,\n credential,\n credential_type as \"credential_type: _\",\n profile_picture_url,\n time_created,\n last_updated\nFROM agent WHERE id = $1;"
} ,
2023-03-19 16:22:33 +00:00
"a6f20728a46711e230dd31f5489a620554cea3e4093a3a4c727f91301811ffea" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "project_id" ,
"ordinal" : 1 ,
"type_info" : "Uuid"
} ,
{
"name" : "price_usd" ,
"ordinal" : 2 ,
"type_info" : "Float8"
} ,
{
"name" : "unit_type: _" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "rooms" ,
"ordinal" : 4 ,
"type_info" : "Int2"
} ,
{
"name" : "bathrooms" ,
"ordinal" : 5 ,
"type_info" : "Int2"
} ,
{
"name" : "area" ,
"ordinal" : 6 ,
"type_info" : "Float4"
} ,
{
"name" : "description" ,
"ordinal" : 7 ,
"type_info" : "Text"
} ,
{
"name" : "media: _" ,
"ordinal" : 8 ,
"type_info" : "Text"
} ,
{
"name" : "admin_tag" ,
"ordinal" : 9 ,
"type_info" : "Varchar"
} ,
{
"name" : "time_created" ,
"ordinal" : 10 ,
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
"ordinal" : 11 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false ,
true ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Uuid"
]
}
} ,
"query" : "SELECT \nid,\nproject_id,\nprice_usd,\nunit_type as \"unit_type: _\",\nrooms,\nbathrooms,\narea,\ndescription,\nmedia as \"media: _\",\nadmin_tag,\ntime_created,\nlast_updated\nFROM unit\nWHERE project_id = $1;"
} ,
"a7e2e579020a4f8fed4c15c78f7800b14cc503afb4d26f77b5d8e0fef116ca06" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "project_state: _" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "project_type: _" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
"name" : "project_condition: _" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "agent_id" ,
"ordinal" : 4 ,
"type_info" : "Uuid"
} ,
{
"name" : "location_id" ,
"ordinal" : 5 ,
"type_info" : "Uuid"
} ,
{
"name" : "title" ,
"ordinal" : 6 ,
"type_info" : "Varchar"
} ,
{
"name" : "description" ,
"ordinal" : 7 ,
"type_info" : "Text"
} ,
{
"name" : "admin_tag" ,
"ordinal" : 8 ,
"type_info" : "Varchar"
} ,
{
"name" : "finish_date" ,
"ordinal" : 9 ,
"type_info" : "Timestamp"
} ,
{
"name" : "floors" ,
"ordinal" : 10 ,
"type_info" : "Int2"
} ,
{
"name" : "media: _" ,
"ordinal" : 11 ,
"type_info" : "Text"
} ,
{
"name" : "time_created" ,
"ordinal" : 12 ,
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
"ordinal" : 13 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
true ,
false ,
true ,
false ,
false ,
false ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Varchar" ,
"Varchar" ,
"Varchar" ,
"Uuid" ,
"Uuid" ,
"Varchar" ,
"Text" ,
"Varchar" ,
"Timestamp" ,
"Int2" ,
"Text" ,
"Timestamptz" ,
"Uuid"
]
}
} ,
"query" : "UPDATE project SET \n project_state = $1,\n project_type = $2,\n project_condition = $3,\n agent_id = $4,\n location_id = $5,\n title = $6,\n description = $7,\n admin_tag = $8,\n finish_date = $9,\n floors = $10,\n media = $11,\n last_updated = $12\nWHERE id = $13\nRETURNING\n id,\n project_state as \"project_state: _\",\n project_type as \"project_type: _\",\n project_condition as \"project_condition: _\",\n agent_id,\n location_id,\n title,\n description,\n admin_tag,\n finish_date,\n floors,\n media as \"media: _\",\n time_created,\n last_updated;\n"
} ,
"bfe82090be44c2d527aa8da51c47307eb3c88c2e3e3e6154c24f8a8456e161dd" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "city" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "district" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
}
] ,
"nullable" : [
false ,
false ,
false
] ,
"parameters" : {
"Left" : [ ]
}
} ,
"query" : "SELECT * FROM location;"
} ,
"c05de1af555fa15d0ad1f5323b8c9ba392ab6618a41b0f5bb7914c10855d68a6" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "project_state: _" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "project_type: _" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
"name" : "project_condition: _" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "agent_id" ,
"ordinal" : 4 ,
"type_info" : "Uuid"
} ,
{
"name" : "location_id" ,
"ordinal" : 5 ,
"type_info" : "Uuid"
} ,
{
"name" : "title" ,
"ordinal" : 6 ,
"type_info" : "Varchar"
} ,
{
"name" : "description" ,
"ordinal" : 7 ,
"type_info" : "Text"
} ,
{
"name" : "admin_tag" ,
"ordinal" : 8 ,
"type_info" : "Varchar"
} ,
{
"name" : "finish_date" ,
"ordinal" : 9 ,
"type_info" : "Timestamp"
} ,
{
"name" : "floors" ,
"ordinal" : 10 ,
"type_info" : "Int2"
} ,
{
"name" : "media: _" ,
"ordinal" : 11 ,
"type_info" : "Text"
} ,
{
"name" : "time_created" ,
"ordinal" : 12 ,
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
"ordinal" : 13 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
true ,
false ,
true ,
false ,
false ,
false ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Uuid" ,
"Varchar" ,
"Varchar" ,
"Varchar" ,
"Uuid" ,
"Uuid" ,
"Varchar" ,
"Text" ,
"Varchar" ,
"Timestamp" ,
"Int2" ,
"Text" ,
"Timestamptz"
]
}
} ,
"query" : "INSERT INTO project (\n id,\n project_state,\n project_type,\n project_condition,\n agent_id,\n location_id,\n title,\n description,\n admin_tag,\n finish_date,\n floors,\n media,\n time_created,\n last_updated\n) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $13\n) RETURNING\nid,\nproject_state as \"project_state: _\",\nproject_type as \"project_type: _\",\nproject_condition as \"project_condition: _\",\nagent_id,\nlocation_id,\ntitle,\ndescription,\nadmin_tag,\nfinish_date,\nfloors,\nmedia as \"media: _\",\ntime_created,\nlast_updated;"
} ,
2023-04-14 20:46:35 +00:00
"ca04328cfa0709a6cfecc33714d9318c4b928ce3e7e8e076e7739b1cf8fecd9c" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Int4"
} ,
{
"name" : "first_name" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "last_name" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
"name" : "credential" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "message" ,
"ordinal" : 4 ,
"type_info" : "Varchar"
} ,
{
"name" : "time_created" ,
"ordinal" : 5 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false
] ,
"parameters" : {
"Left" : [ ]
}
} ,
"query" : "SELECT * FROM contact;"
} ,
2023-03-19 16:22:33 +00:00
"d0996b65d52b1e2b9e99eed338b31eb551b313ba91e44613e32aa83835d53dbc" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "city" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "district" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
}
] ,
"nullable" : [
false ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Uuid" ,
"Varchar" ,
"Varchar"
]
}
} ,
"query" : "INSERT INTO location (\n id, city, district\n) VALUES (\n $1, $2, $3\n) RETURNING *;"
} ,
"d556cb1971f386a7997c2e3dbce191cde2d488c55c05edbfe3746208a782d5f6" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "city" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "district" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
}
] ,
"nullable" : [
false ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Uuid"
]
}
} ,
"query" : "SELECT * FROM location WHERE id = $1;"
} ,
"d590e9f4fed693df4e873e226c6c278b9f608290e7c31fd3145a0223b2e7b221" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "project_state: _" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "project_type: _" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
"name" : "project_condition: _" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "agent_id" ,
"ordinal" : 4 ,
"type_info" : "Uuid"
} ,
{
"name" : "location_id" ,
"ordinal" : 5 ,
"type_info" : "Uuid"
} ,
{
"name" : "title" ,
"ordinal" : 6 ,
"type_info" : "Varchar"
} ,
{
"name" : "description" ,
"ordinal" : 7 ,
"type_info" : "Text"
} ,
{
"name" : "admin_tag" ,
"ordinal" : 8 ,
"type_info" : "Varchar"
} ,
{
"name" : "finish_date" ,
"ordinal" : 9 ,
"type_info" : "Timestamp"
} ,
{
"name" : "floors" ,
"ordinal" : 10 ,
"type_info" : "Int2"
} ,
{
"name" : "media: _" ,
"ordinal" : 11 ,
"type_info" : "Text"
} ,
{
"name" : "time_created" ,
"ordinal" : 12 ,
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
"ordinal" : 13 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
true ,
false ,
true ,
false ,
false ,
false ,
false ,
false
] ,
"parameters" : {
"Left" : [
"UuidArray"
]
}
} ,
"query" : "SELECT \nid,\nproject_state as \"project_state: _\",\nproject_type as \"project_type: _\",\nproject_condition as \"project_condition: _\",\nagent_id,\nlocation_id,\ntitle,\ndescription,\nadmin_tag,\nfinish_date,\nfloors,\nmedia as \"media: _\",\ntime_created,\nlast_updated\nFROM project WHERE id = ANY($1);"
} ,
2023-03-19 20:34:58 +00:00
"e15c1255cfa5d8075536949f04cb5bc5cc03336dee8cc417297ba02e7c8bff77" : {
"describe" : {
"columns" : [ ] ,
"nullable" : [ ] ,
"parameters" : {
"Left" : [
"Uuid"
]
}
} ,
"query" : "DELETE FROM unit WHERE project_id = $1;"
} ,
2023-03-19 16:22:33 +00:00
"e249fa71f1bfd550a78b5838b9f393bd0d1d062291c8ea0fdcec61388a8712b8" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "project_state: _" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "project_type: _" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
} ,
{
"name" : "project_condition: _" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "agent_id" ,
"ordinal" : 4 ,
"type_info" : "Uuid"
} ,
{
"name" : "location_id" ,
"ordinal" : 5 ,
"type_info" : "Uuid"
} ,
{
"name" : "title" ,
"ordinal" : 6 ,
"type_info" : "Varchar"
} ,
{
"name" : "description" ,
"ordinal" : 7 ,
"type_info" : "Text"
} ,
{
"name" : "admin_tag" ,
"ordinal" : 8 ,
"type_info" : "Varchar"
} ,
{
"name" : "finish_date" ,
"ordinal" : 9 ,
"type_info" : "Timestamp"
} ,
{
"name" : "floors" ,
"ordinal" : 10 ,
"type_info" : "Int2"
} ,
{
"name" : "media: _" ,
"ordinal" : 11 ,
"type_info" : "Text"
} ,
{
"name" : "time_created" ,
"ordinal" : 12 ,
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
"ordinal" : 13 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
true ,
false ,
true ,
false ,
false ,
false ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Uuid"
]
}
} ,
"query" : " SELECT \n id,\n project_state as \"project_state: _\",\n project_type as \"project_type: _\",\n project_condition as \"project_condition: _\",\n agent_id,\n location_id,\n title,\n description,\n admin_tag,\n finish_date,\n floors,\n media as \"media: _\",\n time_created,\n last_updated\nFROM project WHERE id = $1;"
} ,
"e8875f08303c3e36ff2e83aec5185ae2f5ddc04da80ba9947ecf509693c11673" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "city" ,
"ordinal" : 1 ,
"type_info" : "Varchar"
} ,
{
"name" : "district" ,
"ordinal" : 2 ,
"type_info" : "Varchar"
}
] ,
"nullable" : [
false ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Text"
]
}
} ,
"query" : "SELECT * FROM location WHERE city = $1 ORDER BY district DESC;"
2023-03-19 20:34:58 +00:00
} ,
"ef16e3c3ba17670dafc6c807cbf77c604954c292afc6c6598d8cbe62c570b625" : {
"describe" : {
"columns" : [
{
"name" : "id" ,
"ordinal" : 0 ,
"type_info" : "Uuid"
} ,
{
"name" : "project_id" ,
"ordinal" : 1 ,
"type_info" : "Uuid"
} ,
{
"name" : "price_usd" ,
"ordinal" : 2 ,
"type_info" : "Float8"
} ,
{
"name" : "unit_type: _" ,
"ordinal" : 3 ,
"type_info" : "Varchar"
} ,
{
"name" : "rooms" ,
"ordinal" : 4 ,
"type_info" : "Int2"
} ,
{
"name" : "bathrooms" ,
"ordinal" : 5 ,
"type_info" : "Int2"
} ,
{
"name" : "area" ,
"ordinal" : 6 ,
"type_info" : "Float4"
} ,
{
"name" : "description" ,
"ordinal" : 7 ,
"type_info" : "Text"
} ,
{
"name" : "media: _" ,
"ordinal" : 8 ,
"type_info" : "Text"
} ,
{
"name" : "admin_tag" ,
"ordinal" : 9 ,
"type_info" : "Varchar"
} ,
{
"name" : "time_created" ,
"ordinal" : 10 ,
"type_info" : "Timestamptz"
} ,
{
"name" : "last_updated" ,
"ordinal" : 11 ,
"type_info" : "Timestamptz"
}
] ,
"nullable" : [
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false ,
false ,
true ,
false ,
false
] ,
"parameters" : {
"Left" : [
"Uuid" ,
"Uuid" ,
"Float8" ,
"Varchar" ,
"Int2" ,
"Int2" ,
"Float4" ,
"Text" ,
"Text" ,
"Varchar" ,
"Timestamptz"
]
}
} ,
"query" : "INSERT INTO unit (\n id,\n project_id,\n price_usd,\n unit_type,\n rooms,\n bathrooms,\n area,\n description,\n media,\n admin_tag,\n time_created,\n last_updated\n) VALUES (\n $1,\n $2,\n $3,\n $4,\n $5,\n $6,\n $7,\n $8,\n $9,\n $10,\n $11,\n $11\n)\nRETURNING \n id,\n project_id,\n price_usd,\n unit_type as \"unit_type: _\",\n rooms,\n bathrooms,\n area,\n description,\n media as \"media: _\",\n admin_tag,\n time_created,\n last_updated;"
2023-03-19 16:22:33 +00:00
}
}