typeorm sqlite usando Entity Manager

import {createConnection} from "typeorm";
import {Photo} from "./entity/Photo";
 
createConnection(/*...*/).then(async connection => {
 
    /*...*/
    let savedPhotos = await connection.manager.find(Photo);
    console.log("All photos from the db: ", savedPhotos);
 
}).catch(error => console.log(error));
Puzzled Puffin