Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB: Extend code samples with initialization. #511

Open
KrzysztofMadejski opened this issue Sep 26, 2019 · 1 comment
Open

DB: Extend code samples with initialization. #511

KrzysztofMadejski opened this issue Sep 26, 2019 · 1 comment
Labels
enhancement New feature or request project:soda/pop This concerns soda/pop

Comments

@KrzysztofMadejski
Copy link

On: https://gobuffalo.io/en/docs/db/querying/

How to obtain db or tx variables? Extend code samples with initialization.

@KrzysztofMadejski
Copy link
Author

pop.LoadConfigFile()
db, err := pop.Connect("development")

@stanislas-m stanislas-m added the enhancement New feature or request label Feb 4, 2020
@stanislas-m stanislas-m added the project:soda/pop This concerns soda/pop label Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request project:soda/pop This concerns soda/pop
Projects
None yet
Development

No branches or pull requests

2 participants