Skip to content

v1.8.0

Latest

Choose a tag to compare

@malikhan-dev malikhan-dev released this 10 Jun 15:58
· 11 commits to main since this release
411de9f

v1.8.0

1 - explicit mapping function is no longer required on FromSqlRows(). built-in mapper added

    cursor := FromSqlRows[UserModel](ctx, conn,"select * from Test.users where id>?", id)

	if cursor.Initiated {
		for v := range cursor.FilterStream(func(model UserModel) bool {
			return model.Age > 25
		}).Throttle(time.Millisecond * 1000).Channel {

				/// business logic

			}
	}

2 - deprecations removed (default collections api and etc)

3 - memory enhancement for Thor Collections Api

4 - 'zdb' tags renamed to 'zql' tags. the mapping contract.