fetch an object's joints

Is there something native to Corona/box2d that makes it possible to access all of the joints that an object is a part of, or is it left to us keep track of that if necessary?  

I’m creating a game where buildings are composed of a number of bricks “glued” together via joints, and I need to be able to destroy those joints at certain times.  I don’t see anything in the documentation that exposes this information.

Last I checked, you have to track the joints yourself. I usually do something simple like this:
 

local obj = display.newCircle( ... ) physics.addBody( obj ) obj.myJoint = physics.newJoint( ... )

Last I checked, you have to track the joints yourself. I usually do something simple like this:
 

local obj = display.newCircle( ... ) physics.addBody( obj ) obj.myJoint = physics.newJoint( ... )