D1 is SQLite but there's no SQLite protocol or anything like that, so you'd have to have it use the
D1 is SQLite but there's no SQLite protocol or anything like that, so you'd have to have it use the http api or build an http api in a worker for it.
MediaWiki has some abstraction for database access it looks like: https://doc.wikimedia.org/mediawiki-core/master/php/classWikimedia_1_1Rdbms_1_1Database.html, you'd have to implement a new database type and all those funcs, not possible to do built in. There is an SQlite option there but that'd be just for local sqlite
MediaWiki has some abstraction for database access it looks like: https://doc.wikimedia.org/mediawiki-core/master/php/classWikimedia_1_1Rdbms_1_1Database.html, you'd have to implement a new database type and all those funcs, not possible to do built in. There is an SQlite option there but that'd be just for local sqlite

