--- warning: DO NOT CHANGE THIS MANUALLY, THIS IS GENERATED BY https://github.com/duckdb/community-extensions repository, check README there title: wow_db2 excerpt: | DuckDB Community Extensions Read World of Warcraft DB2 (WDC5) client database files, typed with WoWDBDefs definitions extension: name: wow_db2 description: Read World of Warcraft DB2 (WDC5) client database files, typed with WoWDBDefs definitions version: 0.1.0 language: Rust build: cargo license: MIT excluded_platforms: "linux_amd64_musl" requires_toolchains: "rust;python3" maintainers: - tjagithub repo: github: tjagithub/duckdb-wow-db2 ref: 36fcae9aca90acc73b1ffa6974ca0dd52980c4c8 docs: hello_world: | INSTALL wow_db2 FROM community; LOAD wow_db2; -- Typed columns from a WoWDBDefs definitions directory (or a single .dbd file) SELECT * FROM read_db2('GlobalStrings.db2', dbd := 'WoWDBDefs/definitions/'); -- Set the definitions once, then query .db2 files by path SET db2_definitions = 'WoWDBDefs/definitions/'; SELECT BaseTag, TagText_lang FROM 'GlobalStrings.db2' WHERE Flags & 1; extended_description: | Reads World of Warcraft `.db2` client database files (WDC5) as tables. Column names and types come from [WoWDBDefs](https://github.com/wowdev/WoWDBDefs) `.dbd` definitions, matched by the file's layout hash; without one, columns are `id`, `field_N` and `relation`. Sections encrypted with a TACT key the extractor did not have are zero-filled on disk and skipped, so their rows are missing. extension_star_count: 0 extension_star_count_pretty: 0 extension_download_count: 30 extension_download_count_pretty: 30 image: '/images/community_extensions/social_preview/preview_community_extension_wow_db2.png' layout: community_extension_doc --- ### Compatibility Matrix This table covers all DuckDB releases that have not reached [end-of-life](https://duckdb.org/release_calendar), including LTS releases, and shows the 2 most recent patch releases of each. Older patch releases are not listed, but the extension may be available for them as well.
| Platform | 1.5.5 | 1.5.6 | 2.0.0 | 2.0.1 | | :--- | :---: | :---: | :---: | :---: | | Linux AMD64 | ❌ | ❌ | ❌ | ✅ | | Linux ARM64 | ❌ | ❌ | ❌ | ✅ | | macOS AMD64 | ❌ | ❌ | ❌ | ❌ | | macOS ARM64 | ❌ | ❌ | ❌ | ✅ | | Windows AMD64 | ❌ | ❌ | ❌ | ✅ | | Windows ARM64 | ❌ | ❌ | ❌ | ❌ | | WebAssembly | ❌ | ❌ | ❌ | ✅ | ### Installing and Loading ```sql INSTALL {{ page.extension.name }} FROM community; LOAD {{ page.extension.name }}; ``` {% if page.docs.hello_world %} ### Example ```sql {{ page.docs.hello_world }}``` {% endif %} {% if page.docs.extended_description %} ### About {{ page.extension.name }} {{ page.docs.extended_description }} {% endif %} ### Added Functions | function_name | function_type | description | comment | examples | |---------------|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|--------------------------------------------------------------------------------------------------------------------------------------| | read_db2 | table | Read a WoW DB2 (WDC5) file. dbd names a WoWDBDefs .dbd file or definitions directory (default: the db2_definitions setting); without one, columns are id, field_N and relation. | NULL | [SELECT * FROM read_db2('GlobalStrings.db2', dbd := 'definitions/'), SET db2_definitions = 'definitions/'; FROM 'GlobalStrings.db2'] | ### Overloaded Functions This extension does not add any function overloads. ### Added Types This extension does not add any types. ### Added Settings | name | description | input_type | scope | aliases | typed_value | |-----------------|----------------------------------------------------------------------------|------------|--------|---------|-------------| | db2_definitions | WoWDBDefs .dbd file or definitions directory that read_db2 uses by default | VARCHAR | GLOBAL | [] | | | temp_directory | Set the directory to which temporary files are written. | VARCHAR | GLOBAL | [] | post.db.tmp |