summaryrefslogtreecommitdiff
path: root/.sqlx/query-f29a6accbc6b4cca6a3b5702d475d33061ffc50b6bd65ac9a950ad6d715ba0bc.json
diff options
context:
space:
mode:
Diffstat (limited to '.sqlx/query-f29a6accbc6b4cca6a3b5702d475d33061ffc50b6bd65ac9a950ad6d715ba0bc.json')
-rw-r--r--.sqlx/query-f29a6accbc6b4cca6a3b5702d475d33061ffc50b6bd65ac9a950ad6d715ba0bc.json44
1 files changed, 44 insertions, 0 deletions
diff --git a/.sqlx/query-f29a6accbc6b4cca6a3b5702d475d33061ffc50b6bd65ac9a950ad6d715ba0bc.json b/.sqlx/query-f29a6accbc6b4cca6a3b5702d475d33061ffc50b6bd65ac9a950ad6d715ba0bc.json
new file mode 100644
index 0000000..e2b6d74
--- /dev/null
+++ b/.sqlx/query-f29a6accbc6b4cca6a3b5702d475d33061ffc50b6bd65ac9a950ad6d715ba0bc.json
@@ -0,0 +1,44 @@
+{
+ "db_name": "SQLite",
+ "query": "\n\t\t\t\tselect\n\t\t\t\t\tmessage.id as \"id: message::Id\",\n\t\t\t\t\tlogin.id as \"sender_id: login::Id\",\n\t\t\t\t\tlogin.name as sender_name,\n\t\t\t\t\tmessage.body,\n\t\t\t\t\tmessage.sent_at as \"sent_at: DateTime\"\n\t\t\t\tfrom message\n\t\t\t\t\tjoin login on message.sender = login.id\n\t\t\t\twhere channel = $1\n\t\t\t\t\tand coalesce(sent_at > $2, true)\n\t\t\t\torder by sent_at asc\n\t\t\t",
+ "describe": {
+ "columns": [
+ {
+ "name": "id: message::Id",
+ "ordinal": 0,
+ "type_info": "Text"
+ },
+ {
+ "name": "sender_id: login::Id",
+ "ordinal": 1,
+ "type_info": "Text"
+ },
+ {
+ "name": "sender_name",
+ "ordinal": 2,
+ "type_info": "Text"
+ },
+ {
+ "name": "body",
+ "ordinal": 3,
+ "type_info": "Text"
+ },
+ {
+ "name": "sent_at: DateTime",
+ "ordinal": 4,
+ "type_info": "Text"
+ }
+ ],
+ "parameters": {
+ "Right": 2
+ },
+ "nullable": [
+ false,
+ false,
+ false,
+ false,
+ false
+ ]
+ },
+ "hash": "f29a6accbc6b4cca6a3b5702d475d33061ffc50b6bd65ac9a950ad6d715ba0bc"
+}