import { Injectable } from '@nestjs/common';
import { InjectConnection } from '@nestjs/typeorm';
import { Connection } from 'typeorm';

@Injectable()
export class PatientSalutationService {
  constructor(@InjectConnection() private connection: Connection ) {}


 async findAll() {
    const getSalutation = await this.connection.query(`select * from PT_salutation`)
    return getSalutation;
  }

}
