package
0.0.0-20230911064405-b779cef8f299
Repository: https://github.com/sap/go-dblib.git
Documentation: pkg.go.dev

# Functions

DoTestBigDateTime tests the handling of the BigDateTime.
DoTestBigInt tests the handling of the BigInt.
DoTestBigTime tests the handling of the BigTime.
DoTestBinary tests the handling of the Binary.
DoTestBit tests the handling of the Bit.
DoTestChar tests the handling of the Char.
DoTestDate tests the handling of the Date.
DoTestDateTime tests the handling of the DateTime.
DoTestDecimal tests the handling of the Decimal.
DoTestDecimal10 tests the handling of the Decimal10.
DoTestDecimal380 tests the handling of the Decimal380.
DoTestDecimal3838 tests the handling of the Decimal3838.
DoTestFloat tests the handling of the Float.
DoTestImage tests the handling of the Image.
DoTestInt tests the handling of the Int.
DoTestMoney tests the handling of the Money.
DoTestMoney4 tests the handling of the Money4.
DoTestNChar tests the handling of the NChar.
DoTestNullBigDateTime tests the handling of the NullBigDateTime.
DoTestNullBigInt tests the handling of the NullBigInt.
DoTestNullBigTime tests the handling of the NullBigTime.
DoTestNullBinary tests the handling of the NullBinary.
DoTestNullChar tests the handling of the NullChar.
DoTestNullDate tests the handling of the NullDate.
DoTestNullDateTime tests the handling of the NullDateTime.
DoTestNullDecimal tests the handling of the NullDecimal.
DoTestNullFloat tests the handling of the NullFloat.
DoTestNullInt tests the handling of the NullInt.
DoTestNullMoney tests the handling of the NullMoney.
DoTestNullMoney4 tests the handling of the NullMoney4.
DoTestNullNChar tests the handling of the NullNChar.
DoTestNullNVarChar tests the handling of the NullNVarChar.
DoTestNullReal tests the handling of the NullReal.
DoTestNullSmallDateTime tests the handling of the NullSmallDateTime.
DoTestNullSmallInt tests the handling of the NullSmallInt.
DoTestNullTime tests the handling of the NullTime.
DoTestNullTinyInt tests the handling of the NullTinyInt.
DoTestNullUnsignedBigInt tests the handling of the NullUnsignedBigInt.
DoTestNullUnsignedInt tests the handling of the NullUnsignedInt.
DoTestNullUnsignedSmallInt tests the handling of the NullUnsignedSmallInt.
DoTestNullVarBinary tests the handling of the NullVarBinary.
DoTestNullVarChar tests the handling of the NullVarChar.
DoTestNVarChar tests the handling of the NVarChar.
DoTestReal tests the handling of the Real.
DoTestSmallDateTime tests the handling of the SmallDateTime.
DoTestSmallInt tests the handling of the SmallInt.
DoTestSQLExec runs tests for sql.Exec.
DoTestSQLQueryRow runs tests for sql.QueryRow.
DoTestSQLTx runs tests for sql.Tx.
DoTestText tests the handling of the Text.
DoTestTime tests the handling of the Time.
DoTestTinyInt tests the handling of the TinyInt.
DoTestUniChar tests the handling of the UniChar.
DoTestUniText tests the handling of the UniText.
DoTestUnsignedBigInt tests the handling of the UnsignedBigInt.
DoTestUnsignedInt tests the handling of the UnsignedInt.
DoTestUnsignedSmallInt tests the handling of the UnsignedSmallInt.
DoTestVarBinary tests the handling of the VarBinary.
DoTestVarChar tests the handling of the VarChar.
RandomNumber returns an unsecure random number as a string.
RegisterDSN registers at least one new genSQLDBFn in genSQLDBMap based on sql.Open.
SetupDB safely creates a database with the given name and sets .Database on the passed info.
SetupTableInsert creates a table with the passed type and inserts all passed samples as rows.
TeardownDB safely deletes the database indicated by .Database of the passed info and unsets the member.
TestForEachDB runs the given DBTestFunc against all registered connection types.

# Variables

ASE doesn't handle creating multiple databases concurrently well.

# Type aliases

ConnectorCreator is the interface for function expected by InitDBs to initialize driver.Connectors.
DBTestFunc is the interface for tests accepting a pre-connected sql.DB.