Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogEntries = struct { ID drel.OrderedColumn[int] Level drel.StringColumn Message drel.StringColumn CreatedAt drel.TimeColumn UpdatedAt drel.TimeColumn }{ ID: drel.NewOrderedCol[int]("id"), Level: drel.NewStringCol("level"), Message: drel.NewStringCol("message"), CreatedAt: drel.NewTimeCol("created_at"), UpdatedAt: drel.NewTimeCol("updated_at"), }
View Source
var LogEntryMeta = drel.ModelMeta[LogEntry]{ Table: "log_entries", Columns: []string{"id", "level", "message", "created_at", "updated_at"}, PKColumn: "id", Scan: scanLogentry, Snapshot: snapshotLogentry, Diff: diffLogentry, PKValue: logentryPKValue, InsertColumns: logentryInsertColumns, ScanReturning: logentryScanReturning, ColumnValue: logentryColumnValue, NormalizeKey: logentryNormalizeKey, }
Functions ¶
This section is empty.
Types ¶
type LogEntryRepository ¶
type LogEntryRepository struct {
*drel.Repository[LogEntry]
}
type TxLogEntryRepository ¶
type TxLogEntryRepository struct {
*drel.TxRepository[LogEntry]
}
Click to show internal directories.
Click to hide internal directories.