psyduck
Pokémon-Daten nativ in DuckDB
Maintainer: Ian-Fogelman
Installation und Laden
INSTALL psyduck FROM community;LOAD psyduck;Beispiel
-- Create a table of pokémon and return... A duckCREATE TABLE pokemon AS SELECT * FROM list_pokemon();SELECT name FROM pokemon WHERE is_duck = 1 AND name LIKE '%Psyduck%';
-- Select the top 10 pokémonSELECT * FROM list_pokemon() WHERE number <= 10;
-- Select legendary pokémonSELECT * FROM list_pokemon() WHERE is_legendary = 1;
-- Select the best pokémonSELECT number, name, type1, "height(m)", "weight(kg)", base_total FROM list_pokemon() WHERE name = 'Charizard';
-- Select pokemon movesSELECT * FROM list_pokemon_moves();
-- Select gen1 itemsSELECT * FROM list_pokemon_items();Hinzugefügte Funktionen
| function_name | function_type | description | comment | examples |
|---|---|---|---|---|
| list_pokemon | table | NULL | NULL | |
| list_pokemon_items | table | NULL | NULL | |
| list_pokemon_moves | table | NULL | NULL |
Überladene Funktionen
Diese Erweiterung fügt keine Funktionsüberladungen hinzu.
Hinzugefügte Typen
Diese Erweiterung fügt keine Typen hinzu.
Hinzugefügte Einstellungen
Diese Erweiterung fügt keine Einstellungen hinzu.