implement recursive channel query
This commit is contained in:
parent
15631a6fd5
commit
0998440bdd
5 changed files with 191 additions and 138 deletions
|
@ -8,7 +8,6 @@ pub struct Model {
|
|||
pub id: ChannelId,
|
||||
pub name: String,
|
||||
pub room_id: Option<RoomId>,
|
||||
// pub id_path: String,
|
||||
}
|
||||
|
||||
impl ActiveModelBehavior for ActiveModel {}
|
||||
|
|
|
@ -11,3 +11,6 @@ pub struct Model {
|
|||
}
|
||||
|
||||
impl ActiveModelBehavior for ActiveModel {}
|
||||
|
||||
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
|
||||
pub enum Relation {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue