3 ms·
I like using id as key, if you want to "decouple" info, i just use reservation.id as reservation_id This way, my db fetch is always on id and not a longer name
by NicoJuicy 11y ago
I like using id as key, if you want to "decouple" info, i just use reservation.id as reservation_id
This way, my db fetch is always on id and not a longer name ( reservation_id), which on the end of an webapp, makes me save some reading / writing :)