Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Expression support for SQL compatible datasources and value casting #488

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

jails commented May 25, 2012

I don't see any other way to support all SQL expressions. Not very elegant but does the job. Sugestions are welcome. Close #28 and #402.

@nateabele nateabele commented on the diff May 25, 2012

data/source/database/Expr.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Lithium: the most rad php framework
+ *
+ * @copyright Copyright 2012, Union of RAD (http://union-of-rad.org)
+ * @license http://opensource.org/licenses/bsd-license.php The BSD License
+ */
+
+namespace lithium\data\source\database;
+
+class Expr {
@nateabele

nateabele May 25, 2012

Owner

Maybe add a short docblock here with an example use case?

@jails jails closed this May 25, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment