
Hey guys,
I've been trying to exercise myself with flourish and everything is going great cuz it's super well documented and explained. Haven't got any problem so far until I reach the point of Database.
Connecting and querying is simple but I have never seen anything like an ORM / active record before and I have read the doc more than 10 times and tried multiple thing I can't manage to understand how it work.
My database is following the ORM Convention but my problem is that I just don't know what to do at all with it.
So maybe guys you could post a complete simple example for me cuz in the doc it's all split up and can't manage to make work anything.
So how do I check if there is a similar entry like if I wanna check if this email xxx@gmail.com already exist in the DB how do i do it ? (I'm not even sure the ORM can do that)
How do I retrieve/modify/delete a row based on it's primary key ?
Can I add a row with the orm ?
If you could just make me a simple functionnal example with some of the features I would be gratefull.
thanks in advance.
Melimelo
ps: sorry for my poor english it's not my mothertongue