MCPcopy Index your code
hub / github.com/sqlchat/sqlchat / hasDatabase

Function hasDatabase

src/utils/feature.ts:3–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1type FeatureType = "debug" | "account" | "payment" | "quota" | "collect";
2
3export const hasDatabase = () => {
4 return process.env.NEXT_PUBLIC_USE_DATABASE == "true";
5};
6
7const matrix: { [key: string]: { [feature: string]: boolean } } = {
8 development: {

Callers 2

MyAppFunction · 0.90
feature.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected