Represents a stream and can be used to get it's data.
The example below uses:
Stream.getRepository
Repository
Stream.getEntries
Criteria
const repository = await stream.getRepository()const client = await repository.find(2);const clients = await stream.getEntries() .where('age', '>', 5) .where('age', '<', 50) .orderBy('age', 'asc') .get(); for(const client of clients){ client.email; client.age; }}
Represents a stream and can be used to get it's data.
The example below uses:
Stream.getRepository
method returnsRepository
Stream.getEntries
method returnsCriteria