A GDExtension wrapper that provides SQLite3 database functionality for Godot 4.x+ projects.
godot-sqlite is a GDExtension plugin that brings SQLite3 database functionality to the Godot game engine. It allows developers to create, query, and manage SQLite databases directly within Godot projects, enabling persistent data storage for games and applications without external dependencies.
Godot developers who need a lightweight, file-based database for storing game data, player progress, configuration, or any structured information within their projects.
It provides a native-feeling SQLite integration with a simple API, cross-platform support, and no need to recompile Godot, making it a convenient and reliable choice for database needs in the Godot ecosystem.
GDExtension wrapper for SQLite (Godot 4.x+)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a direct interface to SQLite3 with standard SQL support, eliminating the need for external dependencies or recompiling Godot, as per the README's philosophy.
Works on Windows, Linux, macOS, Android, iOS, and HTML5, making it versatile for multi-platform Godot projects, with specific notes on each OS in the README.
Includes query_with_bindings and query_with_named_bindings methods to prevent SQL injection and handle binary data safely, a key feature highlighted in the methods section.
Offers wrappers like create_table, insert_row, and import_from_json to simplify common database tasks, reducing boilerplate code, as demonstrated in the demo.
The plugin explicitly does not support database encryption, citing licensing issues, which is a critical limitation for projects handling sensitive information.
On mobile and web platforms, databases must be copied to the user:// folder, adding deployment complexity, as detailed in the FAQ and export sections.
Due to SQLite restrictions, column names cannot be bound in queries, requiring workarounds for dynamic schemas, as noted in the methods and FAQ.