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

Feature/singlestore type tests #9

Merged
merged 2 commits into from
Aug 21, 2024
Merged

Conversation

Rodriguespn
Copy link
Collaborator

The type tests test the type safety of the drizzle-orm operations and are located in the “drizzle-orm/type-tests” directory.

Copied and renamed every MySQL reference to singlestore on the drizzle-orm/src/type-tests directory.

Also, I removed the foreign key and check constraint type tests, since they are not supported by singlestore.

Note: Defined intersectAll and excludeAll sql functions for SingleStore, since they were defined for MySQL and not for SingleStore and were used on the type tests

@Rodriguespn Rodriguespn added the enhancement New feature or request label Aug 20, 2024
@Rodriguespn Rodriguespn self-assigned this Aug 20, 2024
@Rodriguespn Rodriguespn force-pushed the feature/singlestore-type-tests branch from 2c4a8ba to 967ab83 Compare August 20, 2024 14:01
@Rodriguespn Rodriguespn force-pushed the feature/singlestore-type-tests branch from 967ab83 to ae78e04 Compare August 20, 2024 15:33
Copy link
Collaborator

@mitchwadair mitchwadair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to be sure, this is just the copy/paste/rename of the type tests from MySQL? Is there anything more specific to review?

@Rodriguespn
Copy link
Collaborator Author

@mitchwadair yes, it's just the copy/paste/rename of the type tests from MySQL. I also removed the foreign key type tests from MySQL since SingleStore doesn't support FKs

@Rodriguespn Rodriguespn merged commit 8dd9d1d into main Aug 21, 2024
3 of 9 checks passed
@apeng-singlestore apeng-singlestore deleted the feature/singlestore-type-tests branch August 26, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants