Loads existing metadata from database into cached_metadata hashmap.
Should be called after Tree construction but before parse(). Keys cache by ast_path (or element_type:element_name if ast_path is empty).
| sql_db |
The SQLite database instance for querying metadata |
| GLib.Error |
if database query fails |