Skip to main content

Classes

c
Deno.AtomicOperation

An operation on a Deno.Kv that can be performed atomically. Atomic operations do not auto-commit, and must be committed explicitly by calling the commit method.

c
Deno.Kv

A key-value database that can be used to store and retrieve data.

c
Deno.KvListIterator

An iterator over a range of data entries in a Deno.Kv.

c
Deno.KvU64

Wrapper type for 64-bit unsigned integers for use as values in a Deno.Kv.

Functions

f
Deno.cron

Create a cron job that will periodically execute the provided handler callback based on the specified schedule.

    f
    Deno.openKv

    Open a new Deno.Kv connection to persist data.

      Interfaces

      I
      Deno.AtomicCheck

      A check to perform as part of a Deno.AtomicOperation. The check will fail if the versionstamp for the key-value pair in the KV store does not match the given versionstamp. A check with a null versionstamp checks that the key-value pair does not currently exist in the KV store.

      I
      Deno.CronSchedule

      CronSchedule is the interface used for JSON format cron schedule.

      I
      Deno.KvCommitError
      No documentation available
      I
      Deno.KvCommitResult
      No documentation available
      I
      Deno.KvEntry

      A versioned pair of key and value in a Deno.Kv.

      I
      Deno.KvListOptions

      Options for listing key-value pairs in a Deno.Kv.

      Type Aliases

      T
      Deno.CronScheduleExpression

      CronScheduleExpression is used as the type of minute, hour, dayOfMonth, month, and dayOfWeek in CronSchedule.

        T
        Deno.KvConsistencyLevel

        Consistency level of a KV operation.

          T
          Deno.KvEntryMaybe

          An optional versioned pair of key and value in a Deno.Kv.

            T
            Deno.KvKey

            A key to be persisted in a Deno.Kv. A key is a sequence of Deno.KvKeyParts.

              T
              Deno.KvKeyPart

              A single part of a Deno.KvKey. Parts are ordered lexicographically, first by their type, and within a given type by their value.

                T
                Deno.KvListSelector

                A selector that selects the range of data returned by a list operation on a Deno.Kv.

                  T
                  Deno.KvMutation

                  A mutation to a key in a Deno.Kv. A mutation is a combination of a key, a value, and a type. The type determines how the mutation is applied to the key.

                    Back to top