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

Allow configuration of filter field sql type #20

Merged
merged 3 commits into from Oct 19, 2018

Conversation

Rodel30
Copy link
Member

@Rodel30 Rodel30 commented Oct 19, 2018

Default the type to varchar (as that's what was happening with the lack of type in params), but allow specifying

@sbleon
Copy link
Member

sbleon commented Oct 19, 2018

So varchar is the default type for cfqueryparam if you don't specify one? The docs say "CF_SQL_CHAR", but I guess that's basically the same thing.

dbrow3.cfc Outdated Show resolved Hide resolved
Co-Authored-By: Rodel30 <codingcyborg@gmail.com>
@Rodel30
Copy link
Member Author

Rodel30 commented Oct 19, 2018

I can't imagine any jdbc drivers having an issue with varchar vs char, but we could make the default char just to be safe.

@Rodel30 Rodel30 merged commit f92245d into master Oct 19, 2018
@Rodel30 Rodel30 deleted the has_many_filter_sql_type branch October 19, 2018 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants