moved sql ops; added duplicates
fixed get_object in __getitem__