gdDocumentation0.8.0

API reference

GD.database

Database entry shared by SQLite and PostgreSQL. Synchronous-looking calls suspend only their GDScript; *_async returns Signals for composition.

Properties

sqlite : GD.database.sqlite

Entry for opening low-level synchronous connections to embedded SQLite databases.

postgres : GD.database.postgres

Entry for creating PostgreSQL clients and connection pools.

redis : GD.database.redis

Entry for creating Redis clients and connection pools.

Methods

client

client() -> GDDatabaseClient

Create an unconnected shared client.

Parameters

No parameters.

Return value

GDDatabaseClient

Errors

This call has no Err return slot. Its return type and documented sentinel values determine how to inspect the result.