-
Notifications
You must be signed in to change notification settings - Fork 444
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
pkp/pkp-lib#6264 Remove adodb #6318
Closed
Closed
Changes from 43 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
965f74b
pkp/pkp-lib#6264 Introduce upsert Laravel extension; make DAOResultFa…
asmecher cee149d
pkp/pkp-lib#6264 Remove ADODB
asmecher 1d605b1
pkp/pkp-lib#6264 DAO adaptations
asmecher 08f8381
pkp/pkp-lib#6264 DAO adaptations
asmecher 706910d
pkp/pkp-lib#6264 DAO adaptations
asmecher 182b76c
pkp/pkp-lib#6264 Move ADODB to development requirement (for schema co…
asmecher 58b4529
pkp/pkp-lib#6264 DAO adaptations
asmecher 94dc0e5
pkp/pkp-lib#6264 Try rewrite of DAOResultFactory etc. to avoid genera…
asmecher e1477b3
pkp/pkp-lib#6264 Upgrade Laravel database libraries (required?)
asmecher c47ae0f
pkp/pkp-lib#6264 DAO adaptations
asmecher f5f7eea
pkp/pkp-lib#6264 Prevent counting of iterated result sets
asmecher 2725ff3
pkp/pkp-lib#6264 Convert assertions to exceptions
asmecher eceee3e
pkp/pkp-lib#6264 Remove unused functionParams; array syntax
asmecher 727c681
pkp/pkp-lib#6264 Array syntax
asmecher ba12faa
pkp/pkp-lib#6264 DAO adaptations
asmecher feca5aa
pkp/pkp-lib#6264 Clean up count work-around syntax
asmecher f8b7d81
pkp/pkp-lib#6264 Fix NULL date formatting for DB; paging needs to be …
asmecher 7f1b886
pkp/pkp-lib#6264 Shorten DAOResultFactory::toArray
asmecher b41b949
pkp/pkp-lib#6264 Enable paging workaround in affected code
asmecher 80b1c57
pkp/pkp-lib#6264 DAO adaptations
asmecher 62b52c9
pkp/pkp-lib#6264 Revert paging to DAO; support paging work-around
asmecher 66ef094
pkp/pkp-lib#6264 DAO adaptations
asmecher 0c78f2c
pkp/pkp-lib#6264 Fix NULL date formatting for DB
asmecher 7a34439
pkp/pkp-lib#6264 Fix date formatting for DB
asmecher 4a2c0a0
pkp/pkp-lib#6264 DAO adaptations
asmecher 786afb5
pkp/pkp-lib#6264 DAO adaptations
asmecher 33f2091
pkp/pkp-lib#6264 DAO adaptations; remove eof and row count calls (no …
asmecher a9125cb
pkp/pkp-lib#6264 DAO adaptations: Remove calls to nonexistent DAOResu…
asmecher 24c5221
pkp/pkp-lib#6264 DAO adaptations: Remove calls to nonexistent DAOResu…
asmecher 0e554fc
pkp/pkp-lib#6264 Fix tests
asmecher 1c138f2
pkp/pkp-lib#6264 DAO adaptations; fix tests
asmecher 779c1a0
pkp/pkp-lib#6264 Fix tests
asmecher ef49ebd
Remove URL validator test case (apparently passes Laravel validator)
asmecher 1b37bb6
pkp/pkp-lib#6264 Fix use/count DAO calls
asmecher bc60f2b
Array syntax
asmecher 404e728
pkp/pkp-lib#6264 Fix upsert problem with PostgreSQL
asmecher 7555681
pkp/pkp-lib#6264 DAO adaptations
asmecher 1662d1e
pkp/pkp-lib#6264 DAO adaptations
asmecher ca71971
pkp/pkp-lib#6264 Improve array/stdobject syntax
asmecher 767a8ca
pkp/pkp-lib#6264 Remove cached DB retrieval
asmecher 1cb47e3
Improve self-documentation
asmecher 9b06e50
pkp/pkp-lib#6264 Remove cached DB retrieval
asmecher 5601288
pkp/pkp-lib#6264 Introduce Generators to normal use cases instead of …
asmecher 76fb957
pkp/pkp-lib#6264 Improve self-documentation
asmecher 3b70560
pkp/pkp-lib#6264 DAO adaptations
asmecher 1103f2e
pkp/pkp-lib#6264 Fix old XML-based schema alteration tools for legacy…
asmecher a8f5b96
pkp/pkp-lib#6264 Array syntax
asmecher 694b61a
pkp/pkp-lib#6264 Paging fix
asmecher 0271262
pkp/pkp-lib#6264 Array syntax
asmecher 0b87fce
pkp/pkp-lib#6264 Correct self-documentation
asmecher 64b8f0d
Array syntax; use exceptions instead of fatalError
asmecher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just out of curiosity, does the query builder handle type conversions like this? I've often wondered whether I need to cast to
int
but never taken the time to experiment.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question; I'll test when I have a sec. Using ADODB, PostgreSQL would complain if the data type didn't match the column type; I would expect PDO to behave the same. This could cause SQL failures when binding a user-supplied parameter, if the user entered a string instead of a number. Putting the casts in the binding resulted in more not-foundish behaviour than fatal-errorish.