{ "db": "PostgreSQL", "05a794cb8f74d38e21c59094af5e0ac12284cdb4bc3a4ecd53c6dff764fa435e": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "title", "ordinal": 1, "type_info": "Varchar" }, { "name": "description", "ordinal": 2, "type_info": "Text" }, { "name": "realtor_id", "ordinal": 3, "type_info": "Uuid" }, { "name": "media: _", "ordinal": 4, "type_info": "Text" }, { "name": "project_condition: _", "ordinal": 5, "type_info": "Varchar" }, { "name": "project_type: _", "ordinal": 6, "type_info": "Varchar" }, { "name": "project_state: _", "ordinal": 7, "type_info": "Varchar" }, { "name": "country", "ordinal": 8, "type_info": "Varchar" }, { "name": "city", "ordinal": 9, "type_info": "Varchar" }, { "name": "district", "ordinal": 10, "type_info": "Varchar" }, { "name": "admin_tag", "ordinal": 11, "type_info": "Varchar" }, { "name": "floors", "ordinal": 12, "type_info": "Int2" }, { "name": "finish_date", "ordinal": 13, "type_info": "Date" }, { "name": "order_index", "ordinal": 14, "type_info": "Int4" }, { "name": "time_created", "ordinal": 15, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 16, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false, false, false, false, false, true, false, false, false, false, false ], "parameters": { "Left": [ "Uuid" ] } }, "query": "SELECT \n id,\n title,\n description,\n realtor_id,\n media as \"media: _\",\n project_condition as \"project_condition: _\",\n project_type as \"project_type: _\",\n project_state as \"project_state: _\",\n country,\n city, \n district,\n admin_tag,\n floors,\n finish_date,\n order_index,\n time_created,\n last_updated\nFROM project WHERE id = $1;\n" }, "1baab5ac461f9543430bd85a600a5af1df45bcd93746eba8219ebcd1efcc56d4": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "name", "ordinal": 1, "type_info": "Varchar" }, { "name": "bio", "ordinal": 2, "type_info": "Varchar" }, { "name": "phone_number", "ordinal": 3, "type_info": "Varchar" }, { "name": "email", "ordinal": 4, "type_info": "Varchar" }, { "name": "profile_picture_url", "ordinal": 5, "type_info": "Varchar" }, { "name": "banner_picture_url", "ordinal": 6, "type_info": "Varchar" }, { "name": "show_projects", "ordinal": 7, "type_info": "Bool" }, { "name": "shortcode", "ordinal": 8, "type_info": "Varchar" }, { "name": "remax_agent_id", "ordinal": 9, "type_info": "Int4" }, { "name": "time_created", "ordinal": 10, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 11, "type_info": "Timestamptz" } ], "nullable": [ false, false, false, false, true, false, true, false, false, true, false, false ], "parameters": { "Left": [ "Uuid", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Bool", "Int4", "Timestamptz" ] } }, "query": "UPDATE realtor SET\n name = $2,\n bio = $3,\n phone_number = $4,\n email = $5,\n profile_picture_url = $6,\n banner_picture_url = $7,\n show_projects = $8,\n remax_agent_id = $9,\n last_updated = $10\nWHERE id = $1\nRETURNING *;" }, "1de871eb06903280d3be4e4ef8f67cde596807784e726ff62d03c2c9f6d6ba76": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "name", "ordinal": 1, "type_info": "Varchar" }, { "name": "bio", "ordinal": 2, "type_info": "Varchar" }, { "name": "phone_number", "ordinal": 3, "type_info": "Varchar" }, { "name": "email", "ordinal": 4, "type_info": "Varchar" }, { "name": "profile_picture_url", "ordinal": 5, "type_info": "Varchar" }, { "name": "banner_picture_url", "ordinal": 6, "type_info": "Varchar" }, { "name": "show_projects", "ordinal": 7, "type_info": "Bool" }, { "name": "shortcode", "ordinal": 8, "type_info": "Varchar" }, { "name": "remax_agent_id", "ordinal": 9, "type_info": "Int4" }, { "name": "time_created", "ordinal": 10, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 11, "type_info": "Timestamptz" } ], "nullable": [ false, false, false, false, true, false, true, false, false, true, false, false ], "parameters": { "Left": [ "Text" ] } }, "query": "SELECT * FROM realtor WHERE shortcode = $1;" }, "3acc0efdfdf6fd4e86b0f197cd27b7378507b82915127b76a6cf76a8f7cb5618": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "who_was", "ordinal": 1, "type_info": "Uuid" }, { "name": "ip_address", "ordinal": 2, "type_info": "Varchar" }, { "name": "browser_width", "ordinal": 3, "type_info": "Int4" }, { "name": "browser_height", "ordinal": 4, "type_info": "Int4" }, { "name": "user_agent", "ordinal": 5, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 6, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false ], "parameters": { "Left": [ "Uuid" ] } }, "query": "SELECT * FROM trackable WHERE id = $1;" }, "45b2fd6a4b72efa359a9f8da7d7dede96bd0d2451abd0127f9e4b89bd1e69c1d": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "title", "ordinal": 1, "type_info": "Varchar" }, { "name": "description", "ordinal": 2, "type_info": "Text" }, { "name": "realtor_id", "ordinal": 3, "type_info": "Uuid" }, { "name": "media: _", "ordinal": 4, "type_info": "Text" }, { "name": "project_condition: _", "ordinal": 5, "type_info": "Varchar" }, { "name": "project_type: _", "ordinal": 6, "type_info": "Varchar" }, { "name": "project_state: _", "ordinal": 7, "type_info": "Varchar" }, { "name": "country", "ordinal": 8, "type_info": "Varchar" }, { "name": "city", "ordinal": 9, "type_info": "Varchar" }, { "name": "district", "ordinal": 10, "type_info": "Varchar" }, { "name": "admin_tag", "ordinal": 11, "type_info": "Varchar" }, { "name": "floors", "ordinal": 12, "type_info": "Int2" }, { "name": "finish_date", "ordinal": 13, "type_info": "Date" }, { "name": "order_index", "ordinal": 14, "type_info": "Int4" }, { "name": "time_created", "ordinal": 15, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 16, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false, false, false, false, false, true, false, false, false, false, false ], "parameters": { "Left": [ "Uuid", "Varchar", "Text", "Uuid", "Text", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Int2", "Date", "Int4", "Timestamptz" ] } }, "query": "INSERT INTO project (\n id,\n title,\n description,\n realtor_id,\n media,\n project_condition,\n project_type,\n project_state,\n country,\n city, \n district,\n admin_tag,\n floors,\n finish_date,\n order_index,\n time_created,\n last_updated\n) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $16\n) RETURNING \n id,\n title,\n description,\n realtor_id,\n media as \"media: _\",\n project_condition as \"project_condition: _\",\n project_type as \"project_type: _\",\n project_state as \"project_state: _\",\n country,\n city, \n district,\n admin_tag,\n floors,\n finish_date,\n order_index,\n time_created,\n last_updated;" }, "50f49e1256fe439b399167515eeb39423ab0618637d12c2b471e9aec9374286e": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "name", "ordinal": 1, "type_info": "Varchar" }, { "name": "bio", "ordinal": 2, "type_info": "Varchar" }, { "name": "phone_number", "ordinal": 3, "type_info": "Varchar" }, { "name": "email", "ordinal": 4, "type_info": "Varchar" }, { "name": "profile_picture_url", "ordinal": 5, "type_info": "Varchar" }, { "name": "banner_picture_url", "ordinal": 6, "type_info": "Varchar" }, { "name": "show_projects", "ordinal": 7, "type_info": "Bool" }, { "name": "shortcode", "ordinal": 8, "type_info": "Varchar" }, { "name": "remax_agent_id", "ordinal": 9, "type_info": "Int4" }, { "name": "time_created", "ordinal": 10, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 11, "type_info": "Timestamptz" } ], "nullable": [ false, false, false, false, true, false, true, false, false, true, false, false ], "parameters": { "Left": [ "Uuid", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Bool", "Varchar", "Int4", "Timestamptz" ] } }, "query": "INSERT INTO realtor (\n id, name, bio, phone_number, email, profile_picture_url, banner_picture_url, show_projects, shortcode, remax_agent_id, time_created, last_updated\n) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $11\n) RETURNING *;" }, "5356455cba4a2740f833ca895e41fa120164a7e1fad9edb367aa680a2353ee02": { "describe": { "columns": [ { "name": "property_id", "ordinal": 0, "type_info": "Uuid" }, { "name": "price", "ordinal": 1, "type_info": "Float8" }, { "name": "currency", "ordinal": 2, "type_info": "Varchar" }, { "name": "arrangement: _", "ordinal": 3, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 4, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 5, "type_info": "Timestamptz" } ], "nullable": [ false, false, false, false, false, false ], "parameters": { "Left": [ "UuidArray" ] } }, "query": "SELECT \n property_id,\n price,\n currency,\n arrangement as \"arrangement: _\",\n time_created,\n last_updated\nFROM property_arrangement\nWHERE property_id = ANY($1);" }, "5cb3e189c5a575ebe13353f8824ac7baa96a9937ab7735216e064583f6cd68bc": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "title", "ordinal": 1, "type_info": "Varchar" }, { "name": "description", "ordinal": 2, "type_info": "Text" }, { "name": "realtor_id", "ordinal": 3, "type_info": "Uuid" }, { "name": "media: _", "ordinal": 4, "type_info": "Text" }, { "name": "project_condition: _", "ordinal": 5, "type_info": "Varchar" }, { "name": "project_type: _", "ordinal": 6, "type_info": "Varchar" }, { "name": "project_state: _", "ordinal": 7, "type_info": "Varchar" }, { "name": "country", "ordinal": 8, "type_info": "Varchar" }, { "name": "city", "ordinal": 9, "type_info": "Varchar" }, { "name": "district", "ordinal": 10, "type_info": "Varchar" }, { "name": "admin_tag", "ordinal": 11, "type_info": "Varchar" }, { "name": "floors", "ordinal": 12, "type_info": "Int2" }, { "name": "finish_date", "ordinal": 13, "type_info": "Date" }, { "name": "order_index", "ordinal": 14, "type_info": "Int4" }, { "name": "time_created", "ordinal": 15, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 16, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false, false, false, false, false, true, false, false, false, false, false ], "parameters": { "Left": [ "Uuid", "Varchar", "Text", "Uuid", "Text", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Int2", "Date", "Int4", "Timestamptz" ] } }, "query": "UPDATE project SET \n title = $2,\n description = $3,\n realtor_id = $4,\n media = $5,\n project_condition = $6,\n project_type = $7,\n project_state = $8,\n country = $9,\n city = $10,\n district = $11,\n admin_tag = $12,\n floors = $13,\n finish_date = $14,\n order_index = $15,\n last_updated = $16\nWHERE id = $1\nRETURNING \n id,\n title,\n description,\n realtor_id,\n media as \"media: _\",\n project_condition as \"project_condition: _\",\n project_type as \"project_type: _\",\n project_state as \"project_state: _\",\n country,\n city, \n district,\n admin_tag,\n floors,\n finish_date,\n order_index,\n time_created,\n last_updated;" }, "665bdd8b25cca64df6ad3194f33013340596405b4666e94382a6913b1888f6c1": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "project_id", "ordinal": 1, "type_info": "Uuid" }, { "name": "realtor_id", "ordinal": 2, "type_info": "Uuid" }, { "name": "media: _", "ordinal": 3, "type_info": "Text" }, { "name": "property_type: _", "ordinal": 4, "type_info": "Varchar" }, { "name": "property_sale_type: _", "ordinal": 5, "type_info": "Varchar" }, { "name": "country", "ordinal": 6, "type_info": "Varchar" }, { "name": "city", "ordinal": 7, "type_info": "Varchar" }, { "name": "district", "ordinal": 8, "type_info": "Varchar" }, { "name": "order_index", "ordinal": 9, "type_info": "Int4" }, { "name": "thumbnail_format: _", "ordinal": 10, "type_info": "Varchar" }, { "name": "rooms", "ordinal": 11, "type_info": "Int2" }, { "name": "bathrooms", "ordinal": 12, "type_info": "Float4" }, { "name": "area", "ordinal": 13, "type_info": "Float4" }, { "name": "parking_spots", "ordinal": 14, "type_info": "Int2" }, { "name": "admin_tag", "ordinal": 15, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 16, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 17, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, false ], "parameters": { "Left": [ "Uuid", "Uuid", "Uuid", "Text", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Int4", "Varchar", "Int2", "Float4", "Float4", "Int2", "Varchar", "Timestamptz" ] } }, "query": "INSERT INTO property (\n id,\n project_id,\n realtor_id,\n media,\n property_type,\n property_sale_type,\n country,\n city,\n district,\n order_index,\n thumbnail_format,\n rooms,\n bathrooms,\n area,\n parking_spots,\n admin_tag,\n time_created,\n last_updated\n) VALUES (\n $1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $17\n) RETURNING \n id,\n project_id,\n realtor_id,\n media as \"media: _\",\n property_type as \"property_type: _\",\n property_sale_type as \"property_sale_type: _\",\n country,\n city,\n district,\n order_index,\n thumbnail_format as \"thumbnail_format: _\",\n rooms,\n bathrooms,\n area,\n parking_spots,\n admin_tag,\n time_created,\n last_updated;" }, "6b566fd0b806219fa856991fc4bc93157c989d418562dc89268c9fb9363424bd": { "describe": { "columns": [ { "name": "property_id", "ordinal": 0, "type_info": "Uuid" }, { "name": "price", "ordinal": 1, "type_info": "Float8" }, { "name": "currency", "ordinal": 2, "type_info": "Varchar" }, { "name": "arrangement: _", "ordinal": 3, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 4, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 5, "type_info": "Timestamptz" } ], "nullable": [ false, false, false, false, false, false ], "parameters": { "Left": [ "Uuid", "Float8", "Varchar", "Text", "Timestamptz" ] } }, "query": "UPDATE property_arrangement SET \n price = $2,\n currency = $3,\n arrangement = $4,\n last_updated = $5\nWHERE property_id = $1 AND arrangement = $4\nRETURNING \n property_id,\n price,\n currency,\n arrangement as \"arrangement: _\",\n time_created,\n last_updated;" }, "7464713d873ea4ad81fdbaef816eb57ce3bdcdf3aa669036e05158e230abd82c": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "thing_id", "ordinal": 1, "type_info": "Uuid" }, { "name": "thing_pk: _", "ordinal": 2, "type_info": "Varchar" }, { "name": "trackable_id", "ordinal": 3, "type_info": "Uuid" }, { "name": "time_created", "ordinal": 4, "type_info": "Timestamptz" } ], "nullable": [ false, false, false, false, false ], "parameters": { "Left": [ "Uuid", "Uuid", "Varchar", "Uuid", "Timestamptz" ] } }, "query": "INSERT INTO view (\n id, thing_id, thing_pk, trackable_id, time_created\n) VALUES (\n $1, $2, $3, $4, $5\n) RETURNING \nid, thing_id, thing_pk as \"thing_pk: _\", trackable_id, time_created" }, "873b8dc31432ef0ccf728bf87c6390e04cbbf6f63aec4dcf6d4b0c33e85eb8f2": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "title", "ordinal": 1, "type_info": "Varchar" }, { "name": "description", "ordinal": 2, "type_info": "Text" }, { "name": "realtor_id", "ordinal": 3, "type_info": "Uuid" }, { "name": "media: _", "ordinal": 4, "type_info": "Text" }, { "name": "project_condition: _", "ordinal": 5, "type_info": "Varchar" }, { "name": "project_type: _", "ordinal": 6, "type_info": "Varchar" }, { "name": "project_state: _", "ordinal": 7, "type_info": "Varchar" }, { "name": "country", "ordinal": 8, "type_info": "Varchar" }, { "name": "city", "ordinal": 9, "type_info": "Varchar" }, { "name": "district", "ordinal": 10, "type_info": "Varchar" }, { "name": "admin_tag", "ordinal": 11, "type_info": "Varchar" }, { "name": "floors", "ordinal": 12, "type_info": "Int2" }, { "name": "finish_date", "ordinal": 13, "type_info": "Date" }, { "name": "order_index", "ordinal": 14, "type_info": "Int4" }, { "name": "time_created", "ordinal": 15, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 16, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false, false, false, false, false, true, false, false, false, false, false ], "parameters": { "Left": [ "Uuid" ] } }, "query": "SELECT \n id,\n title,\n description,\n realtor_id,\n media as \"media: _\",\n project_condition as \"project_condition: _\",\n project_type as \"project_type: _\",\n project_state as \"project_state: _\",\n country,\n city,\n district,\n admin_tag,\n floors,\n finish_date,\n order_index,\n time_created,\n last_updated\nFROM project WHERE realtor_id = $1;" }, "92abeebdeb9a2de864c868eccba9669958a01ce3a485355f22bf20357f001d61": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "project_id", "ordinal": 1, "type_info": "Uuid" }, { "name": "realtor_id", "ordinal": 2, "type_info": "Uuid" }, { "name": "media: _", "ordinal": 3, "type_info": "Text" }, { "name": "property_type: _", "ordinal": 4, "type_info": "Varchar" }, { "name": "property_sale_type: _", "ordinal": 5, "type_info": "Varchar" }, { "name": "country", "ordinal": 6, "type_info": "Varchar" }, { "name": "city", "ordinal": 7, "type_info": "Varchar" }, { "name": "district", "ordinal": 8, "type_info": "Varchar" }, { "name": "order_index", "ordinal": 9, "type_info": "Int4" }, { "name": "thumbnail_format: _", "ordinal": 10, "type_info": "Varchar" }, { "name": "rooms", "ordinal": 11, "type_info": "Int2" }, { "name": "bathrooms", "ordinal": 12, "type_info": "Float4" }, { "name": "area", "ordinal": 13, "type_info": "Float4" }, { "name": "parking_spots", "ordinal": 14, "type_info": "Int2" }, { "name": "admin_tag", "ordinal": 15, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 16, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 17, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, false ], "parameters": { "Left": [ "Uuid", "Int8", "Text", "Text", "Text", "Text", "Text", "Int2", "Float4", "Float4", "Int2", "Float8", "Float8" ] } }, "query": "SELECT \n p.id,\n p.project_id,\n p.realtor_id,\n p.media as \"media: _\",\n p.property_type as \"property_type: _\",\n p.property_sale_type as \"property_sale_type: _\",\n p.country,\n p.city,\n p.district,\n p.order_index,\n p.thumbnail_format as \"thumbnail_format: _\",\n p.rooms,\n p.bathrooms,\n p.area,\n p.parking_spots,\n p.admin_tag,\n p.time_created,\n p.last_updated\nFROM property p, property_arrangement pa\nWHERE p.realtor_id = $1\nAND pa.property_id = p.id\n-- FILTERS\nAND (pa.arrangement = $3 OR $3 IS null) -- Arrangement\nAND (p.property_type = $4 OR $4 IS null) -- Property Type\nAND (p.country = $5 OR $5 IS null) -- Country\nAND (p.city = $6 OR $6 IS null) -- City\nAND (p.district = $7 OR $7 IS null) -- District\nAND (p.rooms = $8 OR $8 IS null) -- Room amount\nAND (p.bathrooms = $9 OR $9 IS null) -- Bathroom amount\nAND (p.area >= $10 OR $10 IS null) -- Area greater than\nAND (p.parking_spots = $11 OR $11 IS null) -- Parking spots amount\nAND (pa.price <= $12 OR $12 IS null) -- Price Less than\nAND (pa.price >= $13 OR $13 IS null) -- Price Greater than\n-- END OF FILTERS\nORDER BY p.order_index DESC\nLIMIT 25 OFFSET $2;" }, "a335033d78f1a2211afed07daff01d72152d05ad78fe068d62a42d3f08c83207": { "describe": { "columns": [ { "name": "property_id", "ordinal": 0, "type_info": "Uuid" }, { "name": "price", "ordinal": 1, "type_info": "Float8" }, { "name": "currency", "ordinal": 2, "type_info": "Varchar" }, { "name": "arrangement: _", "ordinal": 3, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 4, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 5, "type_info": "Timestamptz" } ], "nullable": [ false, false, false, false, false, false ], "parameters": { "Left": [ "Uuid", "Float8", "Varchar", "Varchar", "Timestamptz" ] } }, "query": "INSERT INTO property_arrangement (\n property_id,\n price,\n currency,\n arrangement,\n time_created, \n last_updated\n) VALUES (\n $1, $2, $3, $4, $5, $5\n) RETURNING \n property_id,\n price,\n currency,\n arrangement as \"arrangement: _\",\n time_created,\n last_updated;" }, "b64e2047bd463a7fd60c3c11ba087bc6f6ec7729bd7bd08dc0444265e9f42690": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "who_was", "ordinal": 1, "type_info": "Uuid" }, { "name": "ip_address", "ordinal": 2, "type_info": "Varchar" }, { "name": "browser_width", "ordinal": 3, "type_info": "Int4" }, { "name": "browser_height", "ordinal": 4, "type_info": "Int4" }, { "name": "user_agent", "ordinal": 5, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 6, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false ], "parameters": { "Left": [ "Uuid", "Uuid", "Varchar", "Int4", "Int4", "Varchar", "Timestamptz" ] } }, "query": "INSERT INTO trackable (\n id, who_was, ip_address, browser_width, browser_height, user_agent, time_created\n) VALUES(\n $1, $2, $3, $4, $5, $6, $7\n) RETURNING *;" }, "c11000c18fb05826a5d18f1d8ca843a3669d9c5397680c8408c05dc827de576a": { "describe": { "columns": [ { "name": "property_id", "ordinal": 0, "type_info": "Uuid" }, { "name": "price", "ordinal": 1, "type_info": "Float8" }, { "name": "currency", "ordinal": 2, "type_info": "Varchar" }, { "name": "arrangement: _", "ordinal": 3, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 4, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 5, "type_info": "Timestamptz" } ], "nullable": [ false, false, false, false, false, false ], "parameters": { "Left": [ "Uuid" ] } }, "query": "SELECT \n property_id,\n price,\n currency,\n arrangement as \"arrangement: _\",\n time_created,\n last_updated\nFROM property_arrangement\nWHERE property_id = $1;" }, "c30c3771ddcad09931fd9b3842ab34f043d19da0ca2a1953349329cb2cf083c3": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "project_id", "ordinal": 1, "type_info": "Uuid" }, { "name": "realtor_id", "ordinal": 2, "type_info": "Uuid" }, { "name": "media: _", "ordinal": 3, "type_info": "Text" }, { "name": "property_type: _", "ordinal": 4, "type_info": "Varchar" }, { "name": "property_sale_type: _", "ordinal": 5, "type_info": "Varchar" }, { "name": "country", "ordinal": 6, "type_info": "Varchar" }, { "name": "city", "ordinal": 7, "type_info": "Varchar" }, { "name": "district", "ordinal": 8, "type_info": "Varchar" }, { "name": "order_index", "ordinal": 9, "type_info": "Int4" }, { "name": "thumbnail_format: _", "ordinal": 10, "type_info": "Varchar" }, { "name": "rooms", "ordinal": 11, "type_info": "Int2" }, { "name": "bathrooms", "ordinal": 12, "type_info": "Float4" }, { "name": "area", "ordinal": 13, "type_info": "Float4" }, { "name": "parking_spots", "ordinal": 14, "type_info": "Int2" }, { "name": "admin_tag", "ordinal": 15, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 16, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 17, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, false ], "parameters": { "Left": [ "Uuid" ] } }, "query": "SELECT \n id,\n project_id,\n realtor_id,\n media as \"media: _\",\n property_type as \"property_type: _\",\n property_sale_type as \"property_sale_type: _\",\n country,\n city,\n district,\n order_index,\n thumbnail_format as \"thumbnail_format: _\",\n rooms,\n bathrooms,\n area,\n parking_spots,\n admin_tag,\n time_created,\n last_updated\nFROM property WHERE id = $1;" }, "c4271ee88c4ffeeac98be4c3a7e9a870f3309e3460a3d0986b70a367a1af310b": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "project_id", "ordinal": 1, "type_info": "Uuid" }, { "name": "realtor_id", "ordinal": 2, "type_info": "Uuid" }, { "name": "media: _", "ordinal": 3, "type_info": "Text" }, { "name": "property_type: _", "ordinal": 4, "type_info": "Varchar" }, { "name": "property_sale_type: _", "ordinal": 5, "type_info": "Varchar" }, { "name": "country", "ordinal": 6, "type_info": "Varchar" }, { "name": "city", "ordinal": 7, "type_info": "Varchar" }, { "name": "district", "ordinal": 8, "type_info": "Varchar" }, { "name": "order_index", "ordinal": 9, "type_info": "Int4" }, { "name": "thumbnail_format: _", "ordinal": 10, "type_info": "Varchar" }, { "name": "rooms", "ordinal": 11, "type_info": "Int2" }, { "name": "bathrooms", "ordinal": 12, "type_info": "Float4" }, { "name": "area", "ordinal": 13, "type_info": "Float4" }, { "name": "parking_spots", "ordinal": 14, "type_info": "Int2" }, { "name": "admin_tag", "ordinal": 15, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 16, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 17, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false, false, false, false, false, false, false, false, false, true, false, false ], "parameters": { "Left": [ "Uuid", "Uuid", "Uuid", "Text", "Varchar", "Varchar", "Varchar", "Varchar", "Varchar", "Int4", "Varchar", "Int2", "Float4", "Float4", "Int2", "Varchar", "Timestamptz" ] } }, "query": "UPDATE property SET\n project_id = $2,\n realtor_id = $3,\n media = $4,\n property_type = $5,\n property_sale_type = $6,\n country = $7,\n city = $8,\n district = $9,\n order_index = $10,\n thumbnail_format = $11,\n rooms = $12,\n bathrooms = $13,\n area = $14,\n parking_spots = $15,\n admin_tag = $16,\n last_updated = $17\nWHERE id = $1\nRETURNING \n id,\n project_id,\n realtor_id,\n media as \"media: _\",\n property_type as \"property_type: _\",\n property_sale_type as \"property_sale_type: _\",\n country,\n city,\n district,\n order_index,\n thumbnail_format as \"thumbnail_format: _\",\n rooms,\n bathrooms,\n area,\n parking_spots,\n admin_tag,\n time_created,\n last_updated;" }, "e9fb0b1fe0e33d2a8aa4bc20be141a9f4bcd68d1c69af1dce93c43c8ba96ebc1": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "realtor_id", "ordinal": 1, "type_info": "Uuid" }, { "name": "clickable: _", "ordinal": 2, "type_info": "Varchar" }, { "name": "trackable_id", "ordinal": 3, "type_info": "Uuid" }, { "name": "time_created", "ordinal": 4, "type_info": "Timestamptz" } ], "nullable": [ false, false, false, false, false ], "parameters": { "Left": [ "Uuid", "Uuid", "Varchar", "Uuid", "Timestamptz" ] } }, "query": "INSERT INTO click (\n id, realtor_id, clickable, trackable_id, time_created\n) VALUES (\n $1, $2, $3, $4, $5\n) RETURNING \n id,\n realtor_id,\n clickable as \"clickable: _\",\n trackable_id,\n time_created;" }, "f0886a67a7e0e9a6582b8852352bc3f7076a89884c5cc653c1399e733578362f": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "who_was", "ordinal": 1, "type_info": "Uuid" }, { "name": "ip_address", "ordinal": 2, "type_info": "Varchar" }, { "name": "browser_width", "ordinal": 3, "type_info": "Int4" }, { "name": "browser_height", "ordinal": 4, "type_info": "Int4" }, { "name": "user_agent", "ordinal": 5, "type_info": "Varchar" }, { "name": "time_created", "ordinal": 6, "type_info": "Timestamptz" } ], "nullable": [ false, true, false, false, false, false, false ], "parameters": { "Left": [ "Text" ] } }, "query": "SELECT * FROM trackable WHERE ip_address = $1;" }, "f7824e34ab77274c6428a02e14dc5b807be14c74f278b96ea311be620bd81608": { "describe": { "columns": [ { "name": "id", "ordinal": 0, "type_info": "Uuid" }, { "name": "name", "ordinal": 1, "type_info": "Varchar" }, { "name": "bio", "ordinal": 2, "type_info": "Varchar" }, { "name": "phone_number", "ordinal": 3, "type_info": "Varchar" }, { "name": "email", "ordinal": 4, "type_info": "Varchar" }, { "name": "profile_picture_url", "ordinal": 5, "type_info": "Varchar" }, { "name": "banner_picture_url", "ordinal": 6, "type_info": "Varchar" }, { "name": "show_projects", "ordinal": 7, "type_info": "Bool" }, { "name": "shortcode", "ordinal": 8, "type_info": "Varchar" }, { "name": "remax_agent_id", "ordinal": 9, "type_info": "Int4" }, { "name": "time_created", "ordinal": 10, "type_info": "Timestamptz" }, { "name": "last_updated", "ordinal": 11, "type_info": "Timestamptz" } ], "nullable": [ false, false, false, false, true, false, true, false, false, true, false, false ], "parameters": { "Left": [ "Uuid" ] } }, "query": "SELECT * FROM realtor WHERE id = $1;" } }