How do you run the operation from a
How do you test?
Entities are inspired by the Service Layer design pattern
userEnt.create(udo);
userEnt.delete(uid);
userEnt.sendMessage(fromId, toId, message);
videoEnt.process(videoPath);
userEnt.create({
firstName: "Thanasis",
lastName: "Polychronakis",
email: "thanpolas@gmail.com",
});
console.log(udoOut);
{
"id": "3kdp349r7fhw",
"firstName": "Thanasis",
"lastName": "Polychronakis",
"email": "thanpolas@gmail.com",
}
create()
read()
readOne()
readLimit()
update()
delete()
count()
Thank you
(here is where you applaud)
Thanasis Polychronakis
@thanpolas
Questions
Be a critic
Thanasis Polychronakis
@thanpolas