Food posining or bug?

Currently in the hospital. Im so worry about bub. I was throwing up all night. Around 15 times from 9 till 6:30ish. First two/three before I got to hospital. One in the taxi out the window going over a bridge. :(

Ive been on a drip, got here around 11pm yesterday its now almost 7pm. Starting to feel a bit better but just went to the toilet and had diarrhoea (wasnt painful)

Ive had 2 bags of IV fluid and not much to eat, a couple bites of a cheese sandwich and a muffin, little bit of potato for dinner.  could that be it? My son goes to daycare three days a week. A couple of nights ago he threw up (a lot) in his sleep. Didn't seem like he was in pain, we had a shower and a couple hours later he threw up again then an hour or two later went back to sleep around 4am-ish?. We werent sure if he was going to throw up the next day/night but he didnt.

The night after he didn't throw up (so last night) I made tacos for dinner, I even used different meat for myself because the one I used for my partner had been open a couple of days. I washed the lettuce and tomato (quickly 😔) only I had avocado and tomato. I put a can of three bean mix in the mince, but I gave it a rinse before.

My son ate this as well (no where near as much as we did) but he is smaller. He seems to be okay. My partner didn't throw up but felt very nauseous all last night. Tonight we both have diarrhoea.

Food poisoning or bug from our son? We share food/drink with him, sleep together, he gets in our face all the time.

I have tests being done, not sure what they will find. What do you think? Could be either? Did you go through any of this and was bub okay???  thanks in advance!! EDIT feeling okay this morning, ive asked to go home!