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

Add a castAs method #179

Merged
merged 1 commit into from
Nov 17, 2019
Merged

Add a castAs method #179

merged 1 commit into from
Nov 17, 2019

Conversation

wilsonge
Copy link
Contributor

@wilsonge wilsonge commented Aug 3, 2019

This method replaces castAsChar which had fallen behind the CMS in terms of support anyhow. This uses the concept proposed by @alikon in joomla/joomla-cms#18961 (comment)

Includes tests & docs

Somewhat related is #157 over which matches some of the castAsChar stuff to gain complete sync with the CMS on the castAsChar method

@wilsonge wilsonge force-pushed the feature/castAs branch 2 times, most recently from 772b03c to c0499e1 Compare August 3, 2019 23:34
@mbabker
Copy link
Contributor

mbabker commented Oct 26, 2019

@wilsonge Care to rebase this?

@alikon
Copy link
Contributor

alikon commented Oct 27, 2019

tested ok on postgresql 11.5

@alikon
Copy link
Contributor

alikon commented Nov 17, 2019

conflict apart can we have a response here ?

@wilsonge
Copy link
Contributor Author

Conflicts fixed (hopefully) - they were complicated and then I just clean forgot about this. If the tests pass I think this should be good to merge

src/DatabaseQuery.php Outdated Show resolved Hide resolved
@wilsonge wilsonge force-pushed the feature/castAs branch 4 times, most recently from be81226 to 400fafc Compare November 17, 2019 22:08
@mbabker mbabker merged commit be53494 into 2.0-dev Nov 17, 2019
@mbabker mbabker deleted the feature/castAs branch November 17, 2019 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants