🔍 findchannel(targetChannel, { productName })
Finds channel info by name using ChannelManager.
1const channel = await db.cms.findchannel('Channel1', { productName: 'CodeBuddy' });
Response
1{2 success: true,3 data: {4 user: "alice@example.com",5 channel: "Channel1"6 }7}
Notes
- Channel names are normalized internally.
- Stops on first match for efficiency.
- Uses listall traversal internally only if needed.