Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mumez/roe
The Relational Object Expressions library, or ROE.
https://github.com/mumez/roe
persistance pharo
Last synced: 8 days ago
JSON representation
The Relational Object Expressions library, or ROE.
- Host: GitHub
- URL: https://github.com/mumez/roe
- Owner: mumez
- License: mit
- Created: 2019-12-22T07:23:20.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-29T08:07:15.000Z (about 5 years ago)
- Last Synced: 2024-11-15T17:38:03.121Z (2 months ago)
- Topics: persistance, pharo
- Language: Smalltalk
- Homepage:
- Size: 41 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ROE
The Relational Object Expressions library, or ROE.
Forked from [PharoExtras / ROE](http://smalltalkhub.com/#!/~PharoExtras/ROE)
## Changes
- Pharo 7 support
- Refactored code
- PostgreSQL connection now assumes [P3](https://github.com/svenvc/P3)
- SQLite3 connection now assumes [Pharo-SQLite3](https://github.com/pharo-rdbms/Pharo-SQLite3)
- Added [Tarantool](https://www.tarantool.io) adapter (via [Tarantalk](https://github.com/mumez/Tarantalk))## Installation
```
Metacello new
baseline: 'Roe';
repository: 'github://mumez/ROE/src';
load
```
## TestingBefore unit testing, you should set database URLs according to your environment.
```
RATestPostgresSemantics urlString: 'psql://postgres:passwd@localhost:5432/postgres'.
RATestTarantoolSemantics uriString: 'taran:talk@localhost:3301'.
```For SQLite3, please put the sqlite3 shared library (libsqlite3.so, dylib, dll or whatever}) on your image directory.
Note that RATestSemantics is an abstract class and should not be run.
There are also convenience method #runTests.
```
RATestPostgresSemantics runTests.
RATestSQLiteSemantics runTests.
RATestTarantoolSemantics runTests.
```