Skip to content

Commit 616d539

Browse files
committed
Add REPL function info to README
1 parent 127b0d4 commit 616d539

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ In the `:main` profile, the Ragtime migration strategy is set to
5050
`:repl` profile, the migration strategy is set to `:rebase`, which will
5151
attempt to roll back migrations to the conflict, then reapply them all.
5252

53+
When using `:repl` profile, this module will also add two functions to
54+
the `user` namespace when the system has been initiated:
55+
56+
- `(db)` - returns the database DataSource
57+
- `(sql stmt & params)` - execute a SQL statment string
58+
5359
[expand]: https://github.com/weavejester/integrant#expanding
5460
[migrations]: https://github.com/weavejester/ragtime/wiki/SQL-Migrations#edn
5561

0 commit comments

Comments
 (0)