mirror of
https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
synced 2025-04-19 03:24:42 -04:00
* chore: enable chat with provided context * chore: rename * chore: update create chat message api endpoint * chore: use list context * chore: use list context * chore: fix test * chore: update api endpoint * chore: rename client api function * chore: rename client api function * chore: expose entity * chore: update sqlx files * chore: update test
31 lines
692 B
JSON
31 lines
692 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n INSERT INTO af_chat_messages (chat_id, author, content, meta_data)\n VALUES ($1, $2, $3, $4)\n RETURNING message_id, created_at\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "message_id",
|
|
"type_info": "Int8"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "created_at",
|
|
"type_info": "Timestamptz"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Jsonb",
|
|
"Text",
|
|
"Jsonb"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "09ff850490eab213cfa0ad88ece9ce7baa39beabee19754fd993268d29552eb9"
|
|
}
|