Closed MoLeft closed 5 months ago
When using the Chat model, how should I get the instance based on the userName?
not possible, you should keep track fo username-chat_id binding by yourself (usually setting up a foreign key in your chat model)
When using the Chat model, how should I get the instance based on the userName?