Database Queries

总计11条数据
TimeDurationTypeQuery
  
10:24:54.5532.7 msSELECTSELECT * FROM "global"."vw_user_login" WHERE "access_token"='oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH'

10:24:54.5571.1 msSELECTSELECT * FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

10:24:54.55816.8 msSELECTSELECT COUNT(*) FROM "a57be577deb434"."tbl_unread_comments" WHERE object_type = '1' AND object_id = '3811' AND remind_user_id = 1000

10:24:54.57512.9 msUPDATEUPDATE "a57be577deb434"."tbl_unread_comments" SET "is_read"=TRUE WHERE ("object_type"='1') AND ("object_id"='3811') AND ("remind_user_id"=1000)

10:24:54.58918.7 msSELECTSELECT COUNT(*) FROM (SELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='1') AND ("object_id"='3811') ORDER BY "created_at" DESC) "c"

10:24:54.60716.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_comments" WHERE ("parent" IS NULL) AND ("object_type"='1') AND ("object_id"='3811') ORDER BY "created_at" DESC LIMIT 20

10:24:54.62415.5 msSELECTSELECT * FROM "a57be577deb434"."tbl_comments" WHERE "parent" IN (170121, 170120) ORDER BY "created_at"

10:24:54.6401.6 msSELECTSELECT * FROM "a57be577deb434"."tbl_attachement_relationships" WHERE ("object_type"=310) AND ("object_id" IN (170121, 170120))

10:24:54.6420.2 msSELECTSELECT "id", "id" AS "key", "name", "sex" FROM "a57be577deb434"."tbl_users" WHERE "id"=1000

10:24:54.6420.3 msSELECTSELECT "user_id", "meta_value" AS "avatar" FROM "a57be577deb434"."tbl_user_meta" WHERE ("meta_key"='avatar') AND ("user_id"=1000)

10:24:54.6431.3 msINSERTINSERT INTO "global"."tbl_api_log" ("code", "schema", "user_id", "device_type", "version_code", "url", "request", "response", "php_error", "time") VALUES (200, 'a57be577deb434', 1000, 6, 166, 'v2/comment/list', '{"object_type":"1","object_id":"3811","page":"1","posttime":"1752200694","access_token":"oTtlK_p5ZOBpvQJd1tf5AoUbRaTdQ7qH","device_type":"6","version_code":"166","token":"58d8d6bbed0cbd845d2e0db37d685c4d"}', '{"code":200,"data":{"list":[{"id":170121,"object_id":3811,"object_type":"1","parent":null,"description":"\u66f9\u6c38\u751f\u66f4\u65b0\u4e86\u4e00\u6761\u5546\u673a\u72b6\u6001\u9690\u6027\u9700\u6c42\u53d8\u4e3a\u660e\u786e\u9700\u6c42","created_by":1000,"created_at":"2025-06-21 21:24:12","reply_to":null,"is_system":true,"for_user":null,"description2":"\u5c31\u653e\u5047\u653e\u5047","comments":[],"attachmentRelationships":[],"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","userMetas":[{"user_id":1000,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/aebf8dd5-5fe2-3ead-a020-c095fe4101e4.png"}]},"can_delete":true},{"id":170120,"object_id":3811,"object_type":"1","parent":null,"description":"\u66f9\u6c38\u751f\u65b0\u5efa\u4e86\u4e00\u6761\u72b6\u6001\u4e3a\u9690\u6027\u9700\u6c42\u7684\u5546\u673a","created_by":1000,"created_at":"2025-06-21 21:22:14","reply_to":null,"is_system":true,"for_user":null,"description2":"\u5c31\u653e\u5047\u653e\u5047","comments":[],"attachmentRelationships":[],"createdBy":{"id":1000,"key":1000,"name":"\u66f9\u6c38\u751f","sex":"M","userMetas":[{"user_id":1000,"avatar":"\/files\/cdn\/a57be577deb434\/avatar\/aebf8dd5-5fe2-3ead-a020-c095fe4101e4.png"}]},"can_delete":true}],"unread":0,"pagenation":{"totalcount":2,"thispage":1,"pagesize":20}},"status":1,"msg":[{"name":"success","success":"\u6210\u529f\u83b7\u53d6\u6570\u636e","error":""}]}', FALSE, '2025-07-11 10:24:54') RETURNING "id"