Bug 1101490 - Implement a new component for Rooms database management

could you check if passing the cursor is enough without wrapping?