this makes it 10x slower to actively develop as i cant hot reload and have to build the project each
this makes it 10x slower to actively develop as i cant hot reload and have to build the project each time


unknown and then another type. If it won't cast without the unknown then it's likely something else is wrong. 
run shouldn't actually return anything (https://developers.cloudflare.com/d1/platform/client-api/#await-stmtrun) but iirc it's broken and does.
D1_ERROR: Error: SQL execute error: Execute returned results - did you mean to call query? but it's probably going to be a pain to return to it's original behaviour without breaking projects

"version"."id" overwrites "channels"."name" and "version"."name". That is not even the worst. I currently have "channels"."secondVersion" set to null but I am 99% that when it's not null it's going to overwrite my version.*
select "channels"."version" as "channelversion"



"secondVersion"."name" into svName for example) and then remap this in drizzle so that the final object structure does not change?D1_ERROR: Error: SQL execute error: Execute returned results - did you mean to call query?"version"."id""channels"."name""version"."name""channels"."secondVersion"version.*select "channels"."version" as "channelversion".as()"secondVersion"."name"svNameconsole.log('??', await env.DB.prepare('select "channels"."id", "channels"."created_at", "channels"."name", "channels"."app_id", "channels"."version", "channels"."created_by", "channels"."updated_at", "channels"."public", "channels"."disableAutoUpdateUnderNative", "channels"."disableAutoUpdate", "channels"."enableAbTesting", "channels"."enable_progressive_deploy", "channels"."secondaryVersionPercentage", "channels"."secondVersion", "channels"."beta", "channels"."ios", "channels"."android", "channels"."allow_device_self_set", "channels"."allow_emulator", "channels"."allow_dev", "secondVersion"."id", "secondVersion"."created_at", "secondVersion"."app_id", "secondVersion"."name", "secondVersion"."bucket_id", "secondVersion"."user_id", "secondVersion"."updated_at", "secondVersion"."deleted", "secondVersion"."external_url", "secondVersion"."checksum", "secondVersion"."session_key", "secondVersion"."storage_provider", "secondVersion"."minUpdateVersion", "version"."id", "version"."created_at", "version"."app_id", "version"."name", "version"."bucket_id", "version"."user_id", "version"."updated_at", "version"."deleted", "version"."external_url", "version"."checksum", "version"."session_key", "version"."storage_provider", "version"."minUpdateVersion" from "channels" left join "app_versions" "secondVersion" on "channels"."secondVersion" = "secondVersion"."id" inner join "app_versions" "version" on "channels"."version" = "version"."id" limit 1').all())