was that an orgasm?

So my boyfriend played my clit with his finger and it was really good and i felt like i am about to pee and then i just did peed/or orgasmed?