oh i missed that, this will sure help
now it’s down to 2 queries
(start transaction)
- insert into likes
- find the post and update it’s likes filed: increase by 1
(end transaction)
oh i missed that, this will sure help
now it’s down to 2 queries
(start transaction)