godot-sqlite icon indicating copy to clipboard operation
godot-sqlite copied to clipboard

Database as resource

Open Ughuuu opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe.

Would be cool to be able to see databases(.sqlite files) in godot files inspector.

Describe the solution you'd like

A resource loader for sqlite that only loads the filename in memory(not the whole db) and a resource for sqlite.

Eg:

Resource and Resource Loader.

https://github.com/V-Sekai/godot-whisper/blob/main/src/resource_whisper.h https://github.com/V-Sekai/godot-whisper/blob/main/src/resource_whisper.cpp https://github.com/V-Sekai/godot-whisper/blob/main/src/resource_loader_whisper.h https://github.com/V-Sekai/godot-whisper/blob/main/src/resource_loader_whisper.cpp

Describe alternatives you've considered

Additional context

Ughuuu avatar Feb 22 '24 21:02 Ughuuu

I'll implement it and you can merge it if you want.

Ughuuu avatar Feb 23 '24 08:02 Ughuuu

@Ughuuu I see you made a PR draft for this feature. Are you planning to still work on this PR or is it feature-complete and just awaiting my feedback?

2shady4u avatar Mar 04 '24 07:03 2shady4u

Hi, also got distracted, first wanted to see your reaction. I need to retest it but the idea is there.

Ughuuu avatar Mar 04 '24 08:03 Ughuuu