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.Column[time.Time] UpdatedAt drel.Column[time.Time] }{ ID: drel.NewOrderedCol[int]("id"), Level: drel.NewStringCol("level"), Message: drel.NewStringCol("message"), CreatedAt: drel.NewCol[time.Time]("created_at"), UpdatedAt: drel.NewCol[time.Time]("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, }
Functions ¶
This section is empty.
Types ¶
type LogEntryRepository ¶
type LogEntryRepository struct {
*drel.Repository[LogEntry]
}
type TxLogEntryRepository ¶
type TxLogEntryRepository struct {
*drel.TxRepository[LogEntry]
}
type UoWLogEntryRepository ¶ added in v0.3.0
type UoWLogEntryRepository struct {
*drel.UoWRepository[LogEntry]
}
Click to show internal directories.
Click to hide internal directories.