Skip to content

Avram Optional? #1402

Answered by jwoertink
mdwagner asked this question in Q&A
Discussion options

You must be logged in to vote

Avram itself technically can be removed, however, things get a little funky. Now, with that said, you don't have to have a database. Case in point the Lucky website which doesn't use a database. Also check out the bottom of this page for more information.

The DB connection happens at query time, and not compile time, so if you never attempt to make a query, then it won't affect anything. This also allows you to use Avram::Operation which can be good for running data mutation stuff that might not be backed by a database.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by paulcsmith
Comment options

mdwagner
Aug 1, 2020
Maintainer Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1232 on January 29, 2021 19:26.