A branded number type indicating that the corresponding
SQL column should be created as an INTEGER.
While all numbers are valid JavaScript types, annotating a
field with Integer communicates to the Cloesce compiler
that this property represents an integer column in SQLite.
Example:
@D1 exportclassHorse { @PrimaryKeyid: Integer; height: number; // stored as REAL }
A branded
numbertype indicating that the corresponding SQL column should be created as anINTEGER.While all numbers are valid JavaScript types, annotating a field with
Integercommunicates to the Cloesce compiler that this property represents an integer column in SQLite.Example: