import IStore from './IStore' ; /**
 * A class that allows for messages to be stored in
 * a relational database such as Postgres or MySql
 *
 * Note this class implements the IStore interface
 * Note also this is just for demo purpose only!
 */ export default class SqlStore implements IStore { save ( id , message ) { } read ( id ) { return '' ; } /**
     * Note that we need to throw 'Method not implemented' here
     * because in the context of the SqlStore the 'getFileInfo'
     * method is not required.
     *
     * Note: THIS BREAKS LSP!! We will discuss a solution to this later.
     */ getFileInfo ( id ) { throw new Error ( "Method not implemented." ) ; } }