Setting verbose_mode on True results in an information dump in the Godot console that is handy for debugging your (possibly faulty) SQLite queries. NOTE: If database files without extension are desired, this variable has to be set to "" (= an empty string) as to skip this automatic procedure entirely. An empty string corresponds with the case in which the query executed succesfully.ĭefault extension that is automatically appended to the path-variable whenever no extension is detected/given. Both res:// and user:// keywords can be used to define the path.Ĭontains the zErrMsg returned by the SQLite query in human-readable form. If no database with this name exists, a new one at the supplied path will be created. Path to the database, should be set before opening the database with open_db(). How to use?Įxamples of possible usage can be found in the supplied demo-project as downloadable in the releases tab or the source code can be directly inspected here.Īdditionally, a video tutorial by Mitch McCollum (finepointcgi) is available here: Make sure that Godot is correctly loading the gdsqlite.gdns-resource and that it is available in the res://-environment.Īn example project, named "demo", can also be downloaded from the releases tab. It's also possible to manually download the build files found in the releases tab, extract them on your system and run the supplied demo-project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |