Skip to content
forked from gobuffalo/pop

A Tasty Treat For All Your Database Needs

License

Notifications You must be signed in to change notification settings

ydb-platform/pop

This branch is up to date with gobuffalo/pop:main.

Folders and files

NameName
Last commit message
Last commit date
Oct 22, 2022
Apr 21, 2022
Feb 22, 2022
Nov 23, 2021
Nov 30, 2021
Dec 7, 2019
Sep 6, 2018
Nov 19, 2022
Jan 18, 2023
Jan 2, 2023
May 24, 2022
Nov 23, 2021
Oct 7, 2022
Feb 2, 2016
Oct 7, 2022
Sep 25, 2022
Sep 25, 2022
Jan 18, 2021
Jan 18, 2021
Sep 30, 2018
Mar 7, 2019
Jan 13, 2023
Jan 2, 2023
Oct 29, 2018
Nov 23, 2021
Sep 24, 2022
Nov 23, 2021
Nov 19, 2022
Sep 24, 2022
Sep 24, 2022
Jun 4, 2022
Jan 18, 2021
Jan 18, 2021
Nov 19, 2022
Dec 11, 2022
Sep 24, 2020
Dec 11, 2022
Mar 17, 2023
Sep 24, 2022
Jan 24, 2023
Nov 1, 2019
Dec 11, 2022
Dec 7, 2019
Oct 19, 2020
Mar 17, 2023
Sep 24, 2022
Jan 24, 2023
Apr 23, 2022
May 21, 2022
Oct 20, 2018
Jun 16, 2018
Sep 24, 2022
Dec 11, 2022
Jan 24, 2023
Apr 18, 2023
Jan 2, 2023
Dec 10, 2021
Jan 18, 2023
Jan 18, 2023
Oct 29, 2018
Oct 29, 2018
Oct 29, 2018
Dec 16, 2022
Nov 3, 2018
Jun 4, 2022
Jan 18, 2021
Apr 18, 2023
Nov 23, 2021
Nov 23, 2021
Aug 10, 2021
Aug 10, 2021
Nov 23, 2021
Apr 21, 2022
Jan 24, 2023
Nov 23, 2021
Feb 6, 2021
Nov 23, 2021
Jun 30, 2022
Jan 2, 2023
Mar 17, 2023
Dec 10, 2021
Sep 25, 2022
Nov 23, 2021
Nov 23, 2021
Nov 23, 2021
Jan 20, 2023
Sep 24, 2022
Nov 28, 2018
Jun 16, 2018
Jan 18, 2021
Nov 19, 2022
Sep 25, 2022
Jan 24, 2023
Sep 19, 2022
Jan 24, 2023
Jan 18, 2021

Repository files navigation

GoDoc Build Status

POP

A Tasty Treat For All Your Database Needs

So what does Pop do exactly? Well, it wraps the absolutely amazing https://github.com/jmoiron/sqlx library. It cleans up some of the common patterns and work flows usually associated with dealing with databases in Go.

Pop makes it easy to do CRUD operations, run migrations, and build/execute queries.

Pop, by default, follows conventions that were influenced by the ActiveRecord Ruby gem. What does this mean?

  • Tables must have an "id" column and a corresponding "ID" field on the struct being used.
  • If there is a timestamp column named created_at, and a CreatedAt time.Time attribute on the struct, it will be set with the current time when the record is created.
  • If there is a timestamp column named updated_at, and a UpdatedAt time.Time attribute on the struct, it will be set with the current time when the record is updated.
  • Default database table names are lowercase, plural, and underscored versions of the struct name. Examples: User{} is "users", FooBar{} is "foo_bars", etc...

Want to know more? Take a look at the documentation!

Documentation

Please visit http://gobuffalo.io for the latest documentation, examples, and more.

Quick Start

Shoulders of Giants

Pop would not be possible if not for all of the great projects it depends on. Please see SHOULDERS.md to see a list of them.

Contributing

First, thank you so much for wanting to contribute! It means so much that you care enough to want to contribute. We appreciate every PR from the smallest of typos to the be biggest of features.

To contribute, please read the contribution guidelines: CONTRIBUTING

About

A Tasty Treat For All Your Database Needs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.4%
  • Other 0.6%