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

ActiveRecord::StatementInvalid: SQLite3::SQLException: unrecognized token: "{": #17

Open
tommiller1 opened this issue May 25, 2016 · 0 comments

Comments

@tommiller1
Copy link

Hi,

Thanks for trying to add support for sqlite3, its much appreciated. I am getting this error when I try to use it though:

ActiveRecord::StatementInvalid: SQLite3::SQLException: unrecognized token: "{": SELECT {:time_zone=>"Pacific Time (US & Canada)"}(*) as count, strftime( "%Y-%m-01 00:00:00 UTC", completed_at ) as date_slice FROM "spree_orders" WHERE "spree_orders"."deleted_at" IS NULL AND ("spree_orders"."completed_at" IS NOT NULL) AND "spree_orders"."payment_state" = ? AND (completed_at >= '2015-11-01 00:00:00.000000') AND ("spree_orders"."completed_at" IS NOT NULL) GROUP BY date_slice ORDER BY date_slice

Regards

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

1 participant