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

[2010-04-01] Add cross-platform DB methods to SS_Database as empty or abstract #1379

Closed
silverstripe-issues opened this issue Apr 3, 2013 · 1 comment

Comments

@silverstripe-issues
Copy link

created by: lhudson
created at: 2010-04-01
original ticket: http://open.silverstripe.org/ticket/5327


Methods such as the following should be defined (abstract ideally) in SS_Database, partly as a contract for subclasses to fill, partly to inform developers of cross-platform methods.

e.g. These functions should exist across all DB platforms (and should be used more!)

datetimeDifferenceClause($date1, $date2)

datetimeIntervalClause($date1, $interval)

@tractorcow
Copy link
Contributor

@wilr wilr closed this as completed May 1, 2013
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

No branches or pull requests

3 participants