Download Latest Version @astrojs_db@0.17.1 source code.tar.gz (43.0 MB)
Email in envelope

Get an email when there's a new version of Astro

Home / @astrojs_db@0.17.0
Name Modified Size InfoDownloads / Week
Parent folder
@astrojs_db@0.17.0 source code.tar.gz 2025-08-08 43.0 MB
@astrojs_db@0.17.0 source code.zip 2025-08-08 45.8 MB
README.md 2025-08-08 763 Bytes
Totals: 3 Items   88.7 MB 0

Minor Changes

  • #14190 438adab Thanks @Adammatthiesen! - Adds support for enum support for text columns in Astro DB tables.

    ```ts import { column, defineTable } from 'astro:db';

    // Table definition const UserTable = defineTable({ columns: { id: column.number({ primaryKey: true }), name: column.text(), rank: column.text({ enum: ['user', 'mod', 'admin'] }), }, });

    // Resulting type definition type UserTableInferInsert = { id: string; name: string; rank: 'user' | 'mod' | 'admin'; }; ```

Source: README.md, updated 2025-08-08