metabase / metabase/toucan

Allow DB to be passed as an argument to models

Open
#16 3 comments 4 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Clojure
Stars
576
Forks
48
PR merge metrics
No merged PRs in 30d

Description

Can the database be passed as an argument to the models, or does Toucan only support the database connection as a global var?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading Toucan's model and database-connection entry points to determine how the current global connection is used. Clarify whether models should accept an explicit database argument and what compatibility behavior is required, then define tests covering the supported connection-passing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.