timothymiller / t4-app

Full stack meta-framework for building iOS, Android, and Progressive Web Apps with Tamagui and deploying to Cloudflare.
https://t4stack.com
MIT License
1.49k stars 84 forks source link

not able to create a D1 DB Client #162

Open dayOneAbu opened 2 months ago

dayOneAbu commented 2 months ago

hi there i think the problem is that db client is not properly initiated

i have put a console.log to see the DB instance the output is this

create DB DrizzleD1Database { query: {}, resultKind: 'async', dialect: SQLiteAsyncDialect {}, session: SQLiteD1Session { dialect: SQLiteAsyncDialect {}, logger: NoopLogger {}, client: undefined, schema: undefined, options: { logger: undefined } }, _: { schema: undefined, tableNamesMap: {} } }