0.0.6 • Published 6 years ago
@flyhigh-hifi/clickhouse v0.0.6
Description
Clickhouse module for Nest based on the official clickhouse package.
Installation
$ npm i --save @nestjs/clickhouse clickhouseUsage
Import ClickhouseModule:
@Module({
imports: [ClickhouseModule.register({
url: 'http://localhost',
port: 8123,
debug: false
})],
providers: [...],
})
export class AnalyticsModule {}Inject ClickhouseService:
@Injectable()
export class AnalyticsService {
constructor(private readonly analyticsService: ClickhouseService) {}
}API Spec
The ClickhouseService exposes native clickhouse methods and wraps them in the Observable.
Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
License
Nest is MIT licensed.