Skip to content

Help me with postgresql! #34

Answered by mikub
bookvik asked this question in Q&A
Mar 31, 2021 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

Hi @bookvik !
thanks for reaching out, I might look into documenting this a bit better to make sure everything is in one place and people do not get confused. Here are some examples that usually work for me to connect to a database and to query it:

Here's a sample dependencies file for postgres that should work:

{:coordinates [[org.postgresql/postgresql "9.4.1208"]],
 :require [[titanoboa.tasklet.jdbc]
           [titanoboa.system.jdbc]
           [titanoboa.database.postgres]],
 :repositories {"clojars" "https://clojars.org/repo",
                "central" "https://repo1.maven.org/maven2/"},
 :import [[org.postgresql.Driver]]}

Be also mindful of #11 (which should be fixed now though); I…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@mikub
Comment options

@bookvik
Comment options

@bookvik
Comment options

@bookvik
Comment options

@mikub
Comment options

Answer selected by mikub
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
2 participants