Skip to content

Releases: joyparty/entity

v0.8.6

Choose a tag to compare

@yeaha yeaha released this 22 Jun 16:13

Full Changelog: v0.8.5...v0.8.6

v0.8.5

Choose a tag to compare

@yeaha yeaha released this 30 Apr 13:31

Full Changelog: v0.8.4...v0.8.5

v0.8.4

Choose a tag to compare

@yeaha yeaha released this 15 Nov 02:59
  • Add NewUpsertTarget()

v0.8.3

Choose a tag to compare

@yeaha yeaha released this 27 Sep 03:52
  • 重构实体对象字段解析,保证与内嵌类型字段优先级规则一致

v0.8.2

Choose a tag to compare

@yeaha yeaha released this 20 Sep 10:06
  • Add SavePoint helper function

v0.8.1

Choose a tag to compare

@yeaha yeaha released this 18 Sep 09:37
  • Transaction helper with context

v0.8.0

Choose a tag to compare

@yeaha yeaha released this 18 Sep 02:58
  • [Breaking Change] 使用泛型改造transaction helper函数,依赖接口而非固定的sqlx.DB和sqlx.Tx
  • NewUpsertRecord() 从Entity类型构造相应的 insert ... on conflict do update 记录

v0.7.4

Choose a tag to compare

@yeaha yeaha released this 12 Aug 04:36
  • repository增加Get方法,使用查询语句返回一条记录

v0.7.3

Choose a tag to compare

@yeaha yeaha released this 03 Aug 06:09
  • 当实体对象存在自增主键时,upsert方法会返回错误

v0.7.2

Choose a tag to compare

@yeaha yeaha released this 03 Aug 05:50
  • 实现upsert方法