Search Shortcut cmd + k | ctrl + k
psyduck

Pokemon data native in DuckDB

Maintainer(s): Ian-Fogelman

Installing and Loading

INSTALL psyduck FROM community;
LOAD psyduck;

Example

-- Create a table of pokémon and return... A duck
CREATE TABLE pokemon AS SELECT * FROM list_pokemon();
SELECT name FROM pokemon WHERE is_duck = 1 AND name LIKE '%Psyduck%';

-- Select the top 10 pokémon
SELECT * FROM list_pokemon() WHERE number <= 10;

-- Select legendary pokémon
SELECT * FROM list_pokemon() WHERE is_legendary = 1;

-- Select the best pokémon
SELECT number, name, type1, "height(m)", "weight(kg)", base_total FROM list_pokemon() WHERE name = 'Charizard';

-- Select pokemon moves
SELECT * FROM list_pokemon_moves();

-- Select gen1 items
SELECT * FROM list_pokemon_items();

Added Functions

function_name function_type description comment examples
list_pokemon table NULL NULL  
list_pokemon_items table NULL NULL  
list_pokemon_moves table NULL NULL  

Overloaded Functions

This extension does not add any function overloads.

Added Types

This extension does not add any types.

Added Settings

This extension does not add any settings.