We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5d3fa2 commit e99dc63Copy full SHA for e99dc63
src/drivers/pubsub.ts
@@ -66,7 +66,7 @@ export class PubSub {
66
public async createChannel(name: string, failIfExists: boolean = true): Promise<any> {
67
let notExistsCommand = ''
68
if (!failIfExists) {
69
- notExistsCommand = 'IF NOT EXISTS'
+ notExistsCommand = ' IF NOT EXISTS'
70
}
71
72
return this.connection.sql(`CREATE CHANNEL ?${notExistsCommand};`, name)
0 commit comments