Skip to content

Instantly share code, notes, and snippets.

@guillep
Last active August 29, 2015 14:13
Show Gist options
  • Save guillep/717546446f5cecf51d0c to your computer and use it in GitHub Desktop.
Save guillep/717546446f5cecf51d0c to your computer and use it in GitHub Desktop.
DBXTalk
DBXDriver initialize.
DBXMysqlDriver subscribeDriver.
DBXOpenDBXDriver subscribeDriver.
DBXSqlite3Driver subscribeDriver.
DBXPostgresV2Driver subscribeDriver.
aaaa:= DBXDriver classPool at: #Drivers.
DBXDriver availableDrivers.
DBXDriver fromConnectionString: 'unexistent://localhost:3306/sodbxtest?user=sodbxtest&password=sodbxtest'
NBPharoOpenDBX installAsCurrent.
(DBXBackendFacility facilityForTest: 'sqlite3') configure.
DBQueryTest connectionString: 'mysql://localhost:3306/sodbxtest?user=sodbxtest&password=sodbxtest'.
DBQueryTest setupConnectionString: 'mysql://localhost:3306?user=sodbxtest&password=sodbxtest'.
DBQueryTest connectionString: 'postgresV2://localhost:5432/sodbxtest?user=sodbxtest&password=sodbxtest'.
DBQueryTest setupConnectionString: 'postgresV2://localhost:5432/postgres?user=sodbxtest&password=sodbxtest&database=postgres'.
DBQueryTest connectionString: 'opendbx://', SmalltalkImage current imagePath asFileReference parent fullName, '/memory?backend=sqlite3'.
DBQueryTest setupConnectionString: DBQueryTest connectionString.
(DBQueryTest connectionString: 'sqlite3://test.db').
DBQueryTest setupConnectionString: DBQueryTest connectionString.
Gofer it
smalltalkhubUser: 'DBXTalk' project: 'MysqlDriver';
configurationOf: 'MysqlDriver';
loadVersion: #bleedingEdge.
Gofer it
smalltalkhubUser: 'DBXTalk' project: 'PostgresV2Driver';
configurationOf: 'PostgresV2';
loadVersion: #bleedingEdge.
Gofer new
smalltalkhubUser: 'PharoExtras' project: 'NBSQLite3';
configurationOf: 'NBSQLite3';
loadVersion: #bleedingEdge.
Gofer new
smalltalkhubUser: 'DBXTalk' project: 'DBXTalkDriver';
configurationOf: 'OpenDBXDriver';
loadVersion: #bleedingEdge.
Gofer new
smalltalkhubUser: 'DBXTalk' project: 'DBXTalkDriver';
package: 'DBXTalkConnector';
load.
Gofer it
smalltalkhubUser: 'DBXTalk' project: 'Garage';
configurationOf: 'Garage';
load.
(#ConfigurationOfGarage asClass project version:#development)
load: 'mysql'.
GAContinuousIntegrationConfiguration new configureMysql
Gofer it
smalltalkhubUser: 'DBXTalk' project: 'Garage';
configurationOf: 'Garage';
load.
(#ConfigurationOfGarage asClass project version:#development)
load: 'opendbx'.
GAContinuousIntegrationConfiguration new configureOpenDbxSqlite
Gofer it
smalltalkhubUser: 'DBXTalk' project: 'Garage';
configurationOf: 'Garage';
load.
(#ConfigurationOfGarage asClass project version:#development)
load: 'pgsql'.
GAContinuousIntegrationConfiguration new configurePostgresql
Gofer it
smalltalkhubUser: 'DBXTalk' project: 'Garage';
configurationOf: 'Garage';
load.
(#ConfigurationOfGarage asClass project version:#development)
load: 'sqlite3'.
GAContinuousIntegrationConfiguration new configureSqlite3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment