Toshihiko
    Preparing search index...

    Type Alias SchemaDefinition

    SchemaDefinition: readonly SchemaFieldDefinition[]

    A readonly list of field definitions accepted by Toshihiko.define.

    An ordinary array literal passed directly to define() retains each field's literal name and Field Type.

    const User = database.define('user', [
    { name: 'id', type: Type.Integer, primaryKey: true },
    { name: 'email', type: Type.String },
    ]);