Versions in this module Expand all Collapse all v5 v5.6.0 Jan 31, 2024 v5.5.0 Jan 30, 2024 v5.4.0 Jan 30, 2024 v5.3.0 Dec 16, 2023 v5.2.0 Dec 14, 2023 v5.1.0 Jul 31, 2023 v5.0.0 Jun 26, 2023 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 AOverloadedByParamOne(ctx context.Context, db DB, paramOne int) error + func AOverloadedByParamOneAndParamTwo(ctx context.Context, db DB, paramOne, paramTwo 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 + ABigserial int64 + ABigserialNullable int64 + ABit uint8 + ABitNullable *uint8 + ABitVarying []byte + ABitVaryingNullable []byte + ABool bool + ABoolNullable sql.NullBool + ABoolean bool + ABooleanNullable sql.NullBool + ABpchar string + ABpcharNullable sql.NullString + ABytea []byte + AByteaNullable []byte + AChar string + ACharNullable sql.NullString + ACharacter string + ACharacterNullable sql.NullString + ACharacterVarying string + ACharacterVaryingNullable sql.NullString + ADate time.Time + ADateNullable sql.NullTime + ADecimal float64 + ADecimalNullable sql.NullFloat64 + ADoublePrecision float64 + ADoublePrecisionNullable sql.NullFloat64 + AEnum AEnum + AEnumNullable NullAEnum + AInet string + AInetNullable sql.NullString + AInt int + AIntNullable sql.NullInt64 + AInteger int + AIntegerNullable sql.NullInt64 + AInterval []byte + AIntervalNullable []byte + AJSON []byte + AJSONNullable []byte + AJsonb []byte + AJsonbNullable []byte + AMoney string + AMoneyNullable sql.NullString + ANumeric float64 + ANumericNullable sql.NullFloat64 + AReal float32 + ARealNullable sql.NullFloat64 + ASerial int + ASerialNullable int + ASmallint int16 + ASmallintNullable sql.NullInt64 + ASmallserial int16 + ASmallserialNullable int16 + AText string + ATextNullable sql.NullString + ATime time.Time + ATimeNullable sql.NullTime + ATimestamp time.Time + ATimestampNullable sql.NullTime + ATimestamptz time.Time + ATimestamptzNullable sql.NullTime + ATimetz time.Time + ATimetzNullable sql.NullTime + AUUID uuid.UUID + AUUIDNullable uuid.NullUUID + AVarchar string + AVarcharNullable sql.NullString + AXML []byte + AXMLNullable []byte + type AEnum uint16 + const AEnumOne + const AEnumTwo + func (ae *AEnum) Scan(v interface{}) error + func (ae *AEnum) UnmarshalText(buf []byte) error + func (ae AEnum) MarshalText() ([]byte, error) + func (ae AEnum) String() string + func (ae AEnum) Value() (driver.Value, error) + 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 + ABigserial sql.NullInt64 + ABigserialNullable sql.NullInt64 + ABit *uint8 + ABitNullable *uint8 + ABitVarying []byte + ABitVaryingNullable []byte + ABool sql.NullBool + ABoolNullable sql.NullBool + ABoolean sql.NullBool + ABooleanNullable sql.NullBool + ABpchar sql.NullString + ABpcharNullable sql.NullString + ABytea []byte + AByteaNullable []byte + AChar sql.NullString + ACharNullable sql.NullString + ACharacter sql.NullString + ACharacterNullable sql.NullString + ACharacterVarying sql.NullString + ACharacterVaryingNullable sql.NullString + ADate sql.NullTime + ADateNullable sql.NullTime + ADecimal sql.NullFloat64 + ADecimalNullable sql.NullFloat64 + ADoublePrecision sql.NullFloat64 + ADoublePrecisionNullable sql.NullFloat64 + AEnum NullAEnum + AEnumNullable NullAEnum + AInet sql.NullString + AInetNullable sql.NullString + AInt sql.NullInt64 + AIntNullable sql.NullInt64 + AInteger sql.NullInt64 + AIntegerNullable sql.NullInt64 + AInterval []byte + AIntervalNullable []byte + AJSON []byte + AJSONNullable []byte + AJsonb []byte + AJsonbNullable []byte + AMoney sql.NullString + AMoneyNullable sql.NullString + ANumeric sql.NullFloat64 + ANumericNullable sql.NullFloat64 + AReal sql.NullFloat64 + ARealNullable sql.NullFloat64 + ASerial sql.NullInt64 + ASerialNullable sql.NullInt64 + ASmallint sql.NullInt64 + ASmallintNullable sql.NullInt64 + ASmallserial sql.NullInt64 + ASmallserialNullable sql.NullInt64 + AText sql.NullString + ATextNullable sql.NullString + ATime sql.NullTime + ATimeNullable sql.NullTime + ATimestamp sql.NullTime + ATimestampNullable sql.NullTime + ATimestamptz sql.NullTime + ATimestamptzNullable sql.NullTime + ATimetz sql.NullTime + ATimetzNullable sql.NullTime + AUUID uuid.NullUUID + AUUIDNullable uuid.NullUUID + AVarchar sql.NullString + AVarcharNullable sql.NullString + AXML []byte + AXMLNullable []byte + 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 ErrInvalidAEnum string + func (err ErrInvalidAEnum) 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 NullAEnum struct + AEnum AEnum + Valid bool + func (nae *NullAEnum) Scan(v interface{}) error + func (nae NullAEnum) Value() (driver.Value, error) Other modules containing this package github.com/danicc097/xo github.com/danicc097/xo/v3