Versions in this module Expand all Collapse all v1 v1.1.1 Nov 5, 2022 Changes in this version + var TimestampFormats = []string + func Errorf(s string, v ...interface{}) + func Logf(s string, v ...interface{}) + func SetErrorLogger(logger interface{}) + func SetLogger(logger interface{}) + type ABitOfEverything struct + ABigint int64 + ABigintNullable sql.NullInt64 + ABlob []byte + ABlobNullable []byte + ABool bool + ABoolNullable sql.NullBool + ABoolean bool + ABooleanNullable sql.NullBool + ACharacter string + ACharacterNullable sql.NullString + AClob string + AClobNullable sql.NullString + ADate Time + ADateNullable *Time + ADatetime Time + ADatetimeNullable *Time + ADecimal float64 + ADecimalNullable sql.NullFloat64 + ADouble float64 + ADoubleNullable sql.NullFloat64 + AFloat float64 + AFloatNullable sql.NullFloat64 + AInt int + AIntNullable sql.NullInt64 + AInteger int + AIntegerNullable sql.NullInt64 + AMediumint int + AMediumintNullable sql.NullInt64 + ANativeCharacter string + ANativeCharacterNullable sql.NullString + ANchar string + ANcharNullable sql.NullString + ANumeric float64 + ANumericNullable sql.NullFloat64 + ANvarchar string + ANvarcharNullable sql.NullString + AReal float64 + ARealNullable sql.NullFloat64 + ASmallint int + ASmallintNullable sql.NullInt64 + AText string + ATextNullable sql.NullString + ATime string + ATimeNullable sql.NullString + ATimeWithTimezone Time + ATimeWithTimezoneNullable *Time + ATimeWithoutTimezone Time + ATimeWithoutTimezoneNullable *Time + ATimestamp Time + ATimestampNullable *Time + ATimestampWithTimezone Time + ATimestampWithTimezoneNullable *Time + ATimestampWithoutTimezone Time + ATimestampWithoutTimezoneNullable *Time + ATinyint int + ATinyintNullable sql.NullInt64 + AVarchar string + AVarcharNullable sql.NullString + AVaryingCharacter string + AVaryingCharacterNullable sql.NullString + type AForeignKey struct + AKey sql.NullInt64 + func (afk *AForeignKey) APrimary(ctx context.Context, db DB) (*APrimary, error) + type AForeignKeyComposite struct + AKey1 sql.NullInt64 + AKey2 sql.NullInt64 + func (afkc *AForeignKeyComposite) APrimaryComposite(ctx context.Context, db DB) (*APrimaryComposite, error) + type AIndex struct + AKey sql.NullInt64 + func AIndexByAKey(ctx context.Context, db DB, aKey sql.NullInt64) ([]*AIndex, error) + type AIndexComposite struct + AKey1 sql.NullInt64 + AKey2 sql.NullInt64 + func AIndexCompositeByAKey1AKey2(ctx context.Context, db DB, aKey1, aKey2 sql.NullInt64) ([]*AIndexComposite, error) + type AManualTable struct + AText sql.NullString + type APrimary struct + AKey int + func APrimaryByAKey(ctx context.Context, db DB, aKey int) (*APrimary, error) + func (ap *APrimary) Delete(ctx context.Context, db DB) error + func (ap *APrimary) Deleted() bool + func (ap *APrimary) Exists() bool + func (ap *APrimary) Insert(ctx context.Context, db DB) error + type APrimaryComposite struct + AKey1 int + AKey2 int + func APrimaryCompositeByAKey1AKey2(ctx context.Context, db DB, aKey1, aKey2 int) (*APrimaryComposite, error) + func (apc *APrimaryComposite) Delete(ctx context.Context, db DB) error + func (apc *APrimaryComposite) Deleted() bool + func (apc *APrimaryComposite) Exists() bool + func (apc *APrimaryComposite) Insert(ctx context.Context, db DB) error + type APrimaryMulti struct + AKey int + AText sql.NullString + func APrimaryMultiByAKey(ctx context.Context, db DB, aKey int) (*APrimaryMulti, error) + func (apm *APrimaryMulti) Delete(ctx context.Context, db DB) error + func (apm *APrimaryMulti) Deleted() bool + func (apm *APrimaryMulti) Exists() bool + func (apm *APrimaryMulti) Insert(ctx context.Context, db DB) error + func (apm *APrimaryMulti) Save(ctx context.Context, db DB) error + func (apm *APrimaryMulti) Update(ctx context.Context, db DB) error + func (apm *APrimaryMulti) Upsert(ctx context.Context, db DB) error + type ASequence struct + ASeq int + func ASequenceByASeq(ctx context.Context, db DB, aSeq int) (*ASequence, error) + func (as *ASequence) Delete(ctx context.Context, db DB) error + func (as *ASequence) Deleted() bool + func (as *ASequence) Exists() bool + func (as *ASequence) Insert(ctx context.Context, db DB) error + type ASequenceMulti struct + ASeq int + AText sql.NullString + func ASequenceMultiByASeq(ctx context.Context, db DB, aSeq int) (*ASequenceMulti, error) + func (asm *ASequenceMulti) Delete(ctx context.Context, db DB) error + func (asm *ASequenceMulti) Deleted() bool + func (asm *ASequenceMulti) Exists() bool + func (asm *ASequenceMulti) Insert(ctx context.Context, db DB) error + func (asm *ASequenceMulti) Save(ctx context.Context, db DB) error + func (asm *ASequenceMulti) Update(ctx context.Context, db DB) error + func (asm *ASequenceMulti) Upsert(ctx context.Context, db DB) error + type AUniqueIndex struct + AKey sql.NullInt64 + func AUniqueIndexByAKey(ctx context.Context, db DB, aKey sql.NullInt64) (*AUniqueIndex, error) + type AUniqueIndexComposite struct + AKey1 sql.NullInt64 + AKey2 sql.NullInt64 + func AUniqueIndexCompositeByAKey1AKey2(ctx context.Context, db DB, aKey1, aKey2 sql.NullInt64) (*AUniqueIndexComposite, error) + type AViewOfEverything struct + ABigint sql.NullInt64 + ABigintNullable sql.NullInt64 + ABlob []byte + ABlobNullable []byte + ABool sql.NullBool + ABoolNullable sql.NullBool + ABoolean sql.NullBool + ABooleanNullable sql.NullBool + ACharacter sql.NullString + ACharacterNullable sql.NullString + AClob sql.NullString + AClobNullable sql.NullString + ADate *Time + ADateNullable *Time + ADatetime *Time + ADatetimeNullable *Time + ADecimal sql.NullFloat64 + ADecimalNullable sql.NullFloat64 + ADouble sql.NullFloat64 + ADoubleNullable sql.NullFloat64 + AFloat sql.NullFloat64 + AFloatNullable sql.NullFloat64 + AInt sql.NullInt64 + AIntNullable sql.NullInt64 + AInteger sql.NullInt64 + AIntegerNullable sql.NullInt64 + AMediumint sql.NullInt64 + AMediumintNullable sql.NullInt64 + ANativeCharacter sql.NullString + ANativeCharacterNullable sql.NullString + ANchar sql.NullString + ANcharNullable sql.NullString + ANumeric sql.NullFloat64 + ANumericNullable sql.NullFloat64 + ANvarchar sql.NullString + ANvarcharNullable sql.NullString + AReal sql.NullFloat64 + ARealNullable sql.NullFloat64 + ASmallint sql.NullInt64 + ASmallintNullable sql.NullInt64 + AText sql.NullString + ATextNullable sql.NullString + ATime sql.NullString + ATimeNullable sql.NullString + ATimeWithTimezone *Time + ATimeWithTimezoneNullable *Time + ATimeWithoutTimezone *Time + ATimeWithoutTimezoneNullable *Time + ATimestamp *Time + ATimestampNullable *Time + ATimestampWithTimezone *Time + ATimestampWithTimezoneNullable *Time + ATimestampWithoutTimezone *Time + ATimestampWithoutTimezoneNullable *Time + ATinyint sql.NullInt64 + ATinyintNullable sql.NullInt64 + AVarchar sql.NullString + AVarcharNullable sql.NullString + AVaryingCharacter sql.NullString + AVaryingCharacterNullable sql.NullString + type AViewOfEverythingSome struct + ABool sql.NullBool + AText sql.NullString + type DB interface + ExecContext func(context.Context, string, ...interface{}) (sql.Result, error) + QueryContext func(context.Context, string, ...interface{}) (*sql.Rows, error) + QueryRowContext func(context.Context, string, ...interface{}) *sql.Row + type ErrInsertFailed struct + Err error + func (err *ErrInsertFailed) Error() string + func (err *ErrInsertFailed) Unwrap() error + type ErrInvalidTime string + func (err ErrInvalidTime) Error() string + type ErrUpdateFailed struct + Err error + func (err *ErrUpdateFailed) Error() string + func (err *ErrUpdateFailed) Unwrap() error + type ErrUpsertFailed struct + Err error + func (err *ErrUpsertFailed) Error() string + func (err *ErrUpsertFailed) Unwrap() error + type Error string + const ErrAlreadyExists + const ErrDoesNotExist + const ErrMarkedForDeletion + func (err Error) Error() string + type Time struct + func NewTime(t time.Time) Time + func (t *Time) Parse(s string) error + func (t *Time) Scan(v interface{}) error + func (t Time) Format(layout string) string + func (t Time) String() string + func (t Time) Time() time.Time + func (t Time) Value() (driver.Value, error)