style(db/declarative): simplify the logic of load_into_cache
#11384
+33
−33
load_into_cache
#11384