(this: Channel<Collection>, id: string = "*")
| 45 | |
| 46 | // Only available on Channel<Collection> |
| 47 | document(this: Channel<Collection>, id: string = "*"): Channel<Document> { |
| 48 | return this.next<Document>("documents", id); |
| 49 | } |
| 50 | |
| 51 | // --- TABLESDB ROUTE --- |
| 52 | table(this: Channel<TablesDB>, id: string = "*"): Channel<Table> { |