Versions in this module Expand all Collapse all v1 v1.1.1 Nov 5, 2022 Changes in this version + func A0In0Out(ctx context.Context, db DB) error + func A0In1Out(ctx context.Context, db DB) (int, error) + func A1In0Out(ctx context.Context, db DB, aParam int) error + func A1In1Out(ctx context.Context, db DB, aParam int) (int, error) + func A2In2Out(ctx context.Context, db DB, paramOne, paramTwo int) (int, int, error) + func AFunc0In(ctx context.Context, db DB) (int, error) + func AFunc1In(ctx context.Context, db DB, aParam int) (int, error) + func AFunc2In(ctx context.Context, db DB, paramOne, paramTwo int) (int, error) + 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 + ABinary []byte + ABinaryNullable []byte + ABit bool + ABitNullable sql.NullBool + AChar string + ACharNullable sql.NullString + ADate time.Time + ADateNullable sql.NullTime + ADatetime time.Time + ADatetime2 time.Time + ADatetime2Nullable sql.NullTime + ADatetimeNullable sql.NullTime + ADatetimeoffset time.Time + ADatetimeoffsetNullable sql.NullTime + ADecimal float64 + ADecimalNullable sql.NullFloat64 + AFloat float64 + AFloatNullable sql.NullFloat64 + AImage []byte + AImageNullable []byte + AInt int + AIntNullable sql.NullInt64 + AMoney string + AMoneyNullable sql.NullString + ANchar string + ANcharNullable sql.NullString + ANtext string + ANtextNullable sql.NullString + ANumeric float64 + ANumericNullable sql.NullFloat64 + ANvarchar string + ANvarcharNullable sql.NullString + AReal float32 + ARealNullable sql.NullFloat64 + ASmalldatetime time.Time + ASmalldatetimeNullable sql.NullTime + ASmallint int16 + ASmallintNullable sql.NullInt64 + ASmallmoney string + ASmallmoneyNullable sql.NullString + AText string + ATextNullable sql.NullString + ATime time.Time + ATimeNullable sql.NullTime + ATinyint bool + ATinyintNullable sql.NullBool + AVarbinary []byte + AVarbinaryNullable []byte + AVarchar string + AVarcharNullable sql.NullString + AXML []byte + AXMLNullable []byte + 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 int64 + ABigintNullable sql.NullInt64 + ABinary []byte + ABinaryNullable []byte + ABit bool + ABitNullable sql.NullBool + AChar string + ACharNullable sql.NullString + ADate time.Time + ADateNullable sql.NullTime + ADatetime time.Time + ADatetime2 time.Time + ADatetime2Nullable sql.NullTime + ADatetimeNullable sql.NullTime + ADatetimeoffset time.Time + ADatetimeoffsetNullable sql.NullTime + ADecimal float64 + ADecimalNullable sql.NullFloat64 + AFloat float64 + AFloatNullable sql.NullFloat64 + AImage []byte + AImageNullable []byte + AInt int + AIntNullable sql.NullInt64 + AMoney string + AMoneyNullable sql.NullString + ANchar string + ANcharNullable sql.NullString + ANtext string + ANtextNullable sql.NullString + ANumeric float64 + ANumericNullable sql.NullFloat64 + ANvarchar string + ANvarcharNullable sql.NullString + AReal float32 + ARealNullable sql.NullFloat64 + ASmalldatetime time.Time + ASmalldatetimeNullable sql.NullTime + ASmallint int16 + ASmallintNullable sql.NullInt64 + ASmallmoney string + ASmallmoneyNullable sql.NullString + AText string + ATextNullable sql.NullString + ATime time.Time + ATimeNullable sql.NullTime + ATinyint bool + ATinyintNullable sql.NullBool + AVarbinary []byte + AVarbinaryNullable []byte + AVarchar string + AVarcharNullable sql.NullString + AXML []byte + AXMLNullable []byte + type AViewOfEverythingSome struct + ABit bool + AText string + 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 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