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 support string date modifiers for SqlitePlatform #554

Closed

Conversation

leonoff
Copy link

@leonoff leonoff commented Mar 26, 2014

In some cases we need support of non-numeric date(datetime) modifiers.
For example if we store interval-value-field in the table. Sqlite doesn't support '+field day' modifier. Common solution for this case is concatenate interval to a string: '+' || field || 'day'

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DBAL-849

We use Jira to track the state of pull requests and the versions they got
included in.

@deeky666
Copy link
Member

I don't think this is supported by the platform API. The API is intended for integers arguments only. We can't change this assumption IMO.

@Ocramius
Copy link
Member

The observation done by @deeky666 is correct. Closing here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants