import { PoolClient } from 'pg' ; import { PoolConnection } from 'mysql' ; export default class DBAccessQueryResult { /**
     * MySQL's or PostgreSQL's client instance.
     * The client may be undefined.
     */ public readonly client ? : PoolConnection | PoolClient ; /**
     * Query result.
     * The data may be undefined.
     */ public readonly data ? : any ; /**
     * Query error.
     * The data may be undefined.
     */ public readonly error ? : any ; /**
     * Constructor.
     */ public constructor ( client ? , data ? , error ? ) { this . client = client ; this . data = data ; this . error = error ; } }