Definition
Assembly: CloudNimble.BlazorEssentials.TursoDb.dll Namespace: CloudNimble.BlazorEssentials.TursoDb Inheritance: System.ObjectSyntax
Summary
Configuration options for Turso Cloud sync.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
Properties
AuthToken
Gets or sets the authentication token for Turso Cloud. This token is obtained from the Turso CLI or dashboard.Syntax
Property Value
Type:string
EncryptionEnabled
Gets or sets whether to encrypt the local database. Requires an encryption key to be set.Syntax
Property Value
Type:bool
EncryptionKey
Gets or sets the encryption key for the local database. Required when EncryptionEnabled is true.Syntax
Property Value
Type:string?
SyncIntervalMs
Gets or sets the sync interval in milliseconds. Set to 0 to disable automatic sync. Default is 0 (manual sync only).Syntax
Property Value
Type:int
SyncOnConnect
Gets or sets whether to automatically sync on connect. Default is true.Syntax
Property Value
Type:bool
SyncUrl
Gets or sets the sync URL for the Turso Cloud database. This is typically in the format: libsql://[database-name]-[org-name].turso.ioSyntax
Property Value
Type:string
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?