imports!();
use crate::client::DeleteQueryBuilder;
new_type!(
Notifications
NotificationsThreads
NotificationsThreadsId
NotificationsThreadsIdSubscription
);
from!(
@DeleteQueryBuilder
-> Notifications = "notifications"
@Notifications
-> NotificationsThreads = "threads"
@NotificationsThreads
=> NotificationsThreadsId
@NotificationsThreadsId
-> NotificationsThreadsIdSubscription = "subscription"
);
impl_macro!(
@Notifications
|=> threads -> NotificationsThreads
|
@NotificationsThreads
|
|=> id -> NotificationsThreadsId = thread_id
@NotificationsThreadsId
|=> subscription -> NotificationsThreadsIdSubscription
|
);
exec!(NotificationsThreadsIdSubscription);