Revert "Add get methods for variable in db"

This reverts commit bca998404f5ffa00d0ca6f66171c985301bea07c.