garage

Description

Database drivers for the Pharo language

Details

Source
GitHub
Dialect
pharo (65% confidence)
License
MIT
Stars
11
Forks
11
Created
Oct. 18, 2016
Updated
Nov. 11, 2025
Topics
database mysql pharo postgresql sqlite3

Categories

Database System / OS

README excerpt

# Garage

Database drivers for the Pharo language.

## Drivers

Garage currently has drivers for:
- PostgreSQL V2
- MySQL
- SQLLite 3

## Install Garage

To install Garage on your Pharo image you can just execute the following script: 

```Smalltalk
    Metacello new
    	githubUser: 'pharo-rdbms' project: 'garage' commitish: 'master' path: '';
    	baseline: 'Garage';
    	load
```

To add Garage Seaside to your baseline just add this:

```Smalltalk
    spec
    	baseline: 'Garage'
    	with: [ spec repository: 'github://pharo-rdbms/garage:master' ]
```

Note that you can replace the #master by another branch as #development or a tag as #v1.0.0, #v1.?.

You can also load a specific driver adding this snippet to your baseline:

```Smalltalk
	spec
		baseline: 'Garage'
		with: [ spec
				loads: 'postgresV2';
				repository: 'github://pharo-rdbms/garage' ]
```

Possible drivers been:
- postgresV2
- sqlite3
- mysql

← Back to results