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

gorm compilable queries #62

Open
wants to merge 30 commits into
base: main
Choose a base branch
from

update changelog

a9c3ead
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

gorm compilable queries #62

update changelog
a9c3ead
Select commit
Loading
Failed to load commit list.
GitHub Actions / Integration Tests Report succeeded Aug 23, 2023 in 1s

Integration Tests Report ✅

Tests passed successfully

✅ integration-tests.xml

47 tests were completed in 13s with 47 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
github.com/ditrit/badaas/testintegration 47✅ 7s

✅ github.com/ditrit/badaas/testintegration

✅ TestBaDaaSORM/TestGetByIDReturnsEntityIfIDMatch
✅ TestBaDaaSORM/TestGetByIDReturnsErrorIfIDDontMatch
✅ TestBaDaaSORM/TestQueryOneReturnsEntityIfConditionsMatch
✅ TestBaDaaSORM/TestQueryOneReturnsErrorIfConditionsDontMatch
✅ TestBaDaaSORM/TestQueryOneReturnsErrorIfMoreThanOneMatchConditions
✅ TestBaDaaSORM/TestGetByIDReturnsErrorIfNotEntityCreated
✅ TestBaDaaSORM/TestGetByIDReturnsErrorIfNotEntityMatch
✅ TestBaDaaSORM/TestGetByIDReturnsTheEntityIfItIsCreate
✅ TestBaDaaSORM/TestQueryDeletedAtConditionIsAddedAutomatically
✅ TestBaDaaSORM/TestQueryWithConditionOfBoolType
✅ TestBaDaaSORM/TestQueryWithConditionOfByteArrayEmpty
✅ TestBaDaaSORM/TestQueryWithConditionOfByteArrayWithContent
✅ TestBaDaaSORM/TestQueryWithConditionOfCreatedAt
✅ TestBaDaaSORM/TestQueryWithConditionOfCustomType
✅ TestBaDaaSORM/TestQueryWithConditionOfDeletedAtNotNil
✅ TestBaDaaSORM/TestQueryWithConditionOfEmbedded
✅ TestBaDaaSORM/TestQueryWithConditionOfFloatType
✅ TestBaDaaSORM/TestQueryWithConditionOfGormEmbedded
✅ TestBaDaaSORM/TestQueryWithConditionOfID
✅ TestBaDaaSORM/TestQueryWithConditionOfIntType
✅ TestBaDaaSORM/TestQueryWithConditionOfPointerTypeWithValue
✅ TestBaDaaSORM/TestQueryWithConditionOfRelationType
✅ TestBaDaaSORM/TestQueryWithConditionOfRelationTypeOptionalWithValue
✅ TestBaDaaSORM/TestQueryWithConditionsOnUIntModel
✅ TestBaDaaSORM/TestQueryWithConditionsReturnsEmptyIfNotEntitiesCreated
✅ TestBaDaaSORM/TestQueryWithConditionsReturnsEmptyIfNothingMatch
✅ TestBaDaaSORM/TestQueryWithConditionsReturnsMultipleIfMultipleMatch
✅ TestBaDaaSORM/TestQueryWithConditionsReturnsOneIfOnlyOneMatch
✅ TestBaDaaSORM/TestQueryWithMultipleConditionsOfDifferentTypesWorks
✅ TestBaDaaSORM/TestQueryWithoutConditionsReturnsEmptyIfNotEntitiesCreated
✅ TestBaDaaSORM/TestQueryWithoutConditionsReturnsTheListWhenMultipleCreated
✅ TestBaDaaSORM/TestQueryWithoutConditionsReturnsTheOnlyOneIfOneEntityCreated
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsAddsDeletedAtAutomatically
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsAndFiltersTheMainEntity
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsBelongsTo
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsDifferentEntities
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsHasOneOptional
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsHasOneSelfReferential
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsMultipleTimes
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsOnDeletedAt
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsOnDifferentAttributes
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsOnHasMany
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsOneToOne
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsOneToOneReversed
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsUintBelongsTo
✅ TestBaDaaSORM/TestQueryWithConditionThatJoinsWithEntityThatDefinesTableName
✅ TestBaDaaSORM