-
Notifications
You must be signed in to change notification settings - Fork 0
@ralphschuler.webgl shader factory.<internal>.IDBDatabase
@ralphschuler/webgl-shader-factory.<internal>.IDBDatabase
This IndexedDB API interface provides a connection to a database; you can use an IDBDatabase object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The interface provides the only way to get and manage versions of the database.
-
EventTarget
↳
IDBDatabase
- addEventListener
- close
- createObjectStore
- deleteObjectStore
- dispatchEvent
- removeEventListener
- transaction
• Readonly
name: string
Returns the name of the database.
node_modules/typescript/lib/lib.dom.d.ts:13603
• Readonly
objectStoreNames: DOMStringList
Returns a list of the names of object stores in the database.
node_modules/typescript/lib/lib.dom.d.ts:13609
• onabort: null
| (this
: IDBDatabase
, ev
: Event
) => any
node_modules/typescript/lib/lib.dom.d.ts:13610
• onclose: null
| (this
: IDBDatabase
, ev
: Event
) => any
node_modules/typescript/lib/lib.dom.d.ts:13612
• onerror: null
| (this
: IDBDatabase
, ev
: Event
) => any
node_modules/typescript/lib/lib.dom.d.ts:13613
• onversionchange: null
| (this
: IDBDatabase
, ev
: IDBVersionChangeEvent
) => any
node_modules/typescript/lib/lib.dom.d.ts:13615
• Readonly
version: number
Returns the version of the database.
node_modules/typescript/lib/lib.dom.d.ts:13621
▸ addEventListener<K
>(type
, listener
, options?
): void
Name | Type |
---|---|
K |
extends keyof IDBDatabaseEventMap
|
Name | Type |
---|---|
type |
K |
listener |
(this : IDBDatabase , ev : IDBDatabaseEventMap [K ]) => any
|
options? |
boolean | AddEventListenerOptions
|
void
EventTarget.addEventListener
node_modules/typescript/lib/lib.dom.d.ts:13650
▸ addEventListener(type
, listener
, options?
): void
Name | Type |
---|---|
type |
string |
listener |
EventListenerOrEventListenerObject |
options? |
boolean | AddEventListenerOptions
|
void
EventTarget.addEventListener
node_modules/typescript/lib/lib.dom.d.ts:13651
▸ close(): void
Closes the connection once all running transactions have finished.
void
node_modules/typescript/lib/lib.dom.d.ts:13627
▸ createObjectStore(name
, options?
): IDBObjectStore
Creates a new object store with the given name and options and returns a new IDBObjectStore.
Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
Name | Type |
---|---|
name |
string |
options? |
IDBObjectStoreParameters |
node_modules/typescript/lib/lib.dom.d.ts:13635
▸ deleteObjectStore(name
): void
Deletes the object store with the given name.
Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
Name | Type |
---|---|
name |
string |
void
node_modules/typescript/lib/lib.dom.d.ts:13643
▸ dispatchEvent(event
): boolean
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
Name | Type |
---|---|
event |
Event |
boolean
EventTarget.dispatchEvent
node_modules/typescript/lib/lib.dom.d.ts:8217
▸ removeEventListener<K
>(type
, listener
, options?
): void
Name | Type |
---|---|
K |
extends keyof IDBDatabaseEventMap
|
Name | Type |
---|---|
type |
K |
listener |
(this : IDBDatabase , ev : IDBDatabaseEventMap [K ]) => any
|
options? |
boolean | EventListenerOptions
|
void
EventTarget.removeEventListener
node_modules/typescript/lib/lib.dom.d.ts:13652
▸ removeEventListener(type
, listener
, options?
): void
Name | Type |
---|---|
type |
string |
listener |
EventListenerOrEventListenerObject |
options? |
boolean | EventListenerOptions
|
void
EventTarget.removeEventListener
node_modules/typescript/lib/lib.dom.d.ts:13653
▸ transaction(storeNames
, mode?
, options?
): IDBTransaction
Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
Name | Type |
---|---|
storeNames |
string | string [] |
mode? |
IDBTransactionMode |
options? |
IDBTransactionOptions |
node_modules/typescript/lib/lib.dom.d.ts:13649
- @ralphschuler/ai-function-caller
- index
- types/AIFunction
- types/Message
- @ralphschuler/assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- assert
- error
- index
- util
- @ralphschuler/better-map
- @ralphschuler/better-set
- @ralphschuler/binary-serializer
- @ralphschuler/bit-mask
- @ralphschuler/complex-compare
- @ralphschuler/i811n
- @ralphschuler/logger
- Color
- ColorMap
- Logger
- animations/BallonAnimation
- animations/BaseAnimation
- animations/BombAnimation
- animations/BouncingBallAnimation
- animations/ClockAnimation
- animations/DotsAnimation
- animations/HorizontalBarAnimation
- animations/PongAnimation
- animations/ProgressAnimation
- animations/ProgressBarAnimation
- animations/SpinnerAnimation
- animations/VerticalBarAnimation
- enums/LogLevel
- index
- interfaces/IColor
- interfaces/IMessage
- types/ColorName
- types/Colors
- @ralphschuler/lsystem
- @ralphschuler/mixin-class-factory
- @ralphschuler/neuronal-network
- @ralphschuler/parser-combinator
- index
- inputTypes
- parser
- unicode
- @ralphschuler/prom-metrics-decorator
- @ralphschuler/prom-metrics-parser
- @ralphschuler/random
- PseudoRandomItemSelector
- PseudoRandomNumberGenerator
- Seed
- index
- strategies
- strategy
- strategy
- strategy
- strategy
- strategy
- strategy
- types
- type
- type
- type
- @ralphschuler/safe-array
- @ralphschuler/slot-mashine
- @ralphschuler/state-store
- StateStore
- index
- type
- type
- type
- type
- type
- type
- type
- type
- util
- @ralphschuler/stats-tracker
- @ralphschuler/ts-error
- error
- index
- type
- util
- util
- util
- util
- @ralphschuler/webgl-sand-engine
- index
- pixel-renderer
- @ralphschuler/webgl-shader-factory
- "node:stream/consumers"
- "node:stream/promises"
- ChatCompletionSnapshot
- Choice
- Message
- ToolCall
- EventEmitter
- FormData
- OpenAI
- OpenAI
- Audio
- Speech
- Transcriptions
- Translations
- Beta
- Assistants
- Assistant
- AssistantCreateParams
- AssistantUpdateParams
- Files
- Chat
- Threads
- Messages
- Files
- MessageContentImageFile
- MessageContentText
- Text
- FileCitation
- FilePath
- Runs
- RequiredActionFunctionToolCall
- Run
- RequiredAction
- RunCreateParams
- RunSubmitToolOutputsParams
- Steps
- CodeToolCall
- CodeInterpreter
- Image
- FunctionToolCall
- MessageCreationStepDetails
- RunStep
- ThreadCreateAndRunParams
- Thread
- ThreadCreateParams
- Chat
- Completions
- ChatCompletion
- ChatCompletionAssistantMessageParam
- ChatCompletionChunk
- Choice
- Delta
- ToolCall
- ChatCompletionContentPartImage
- ChatCompletionCreateParams
- ChatCompletionMessage
- ChatCompletionMessageToolCall
- ChatCompletionNamedToolChoice
- Completions
- CompletionChoice
- CompletionCreateParams
- Edits
- Edit
- Embeddings
- CreateEmbeddingResponse
- Files
- FineTunes
- FineTune
- FineTuneCreateParams
- FineTuneListEventsParams
- FineTuning
- Jobs
- FineTuningJob
- JobCreateParams
- Images
- Models
- Moderations
- Moderation
- internal
- finished
- pipeline
- "node:stream/consumers"
- "node:stream/promises"
- EventEmitter
- internal
- finished
- pipeline
- Counter
- Gauge
- Histogram
- Summary