Closed uranusjr closed 11 years ago
Yes, it will be.
Do you have a list of the standard functions?
I don't have the SQL standard to refer to, but SQL in a Nutshell contains a nice chapter about standard SQL functions.
Oh, I see the ANSI SQL functions in Chapter 4. It is helpful.
I will find time to implement them. Thanks for it.
Thanks the #14 pull request from @uranusjr. This standard functions are includes in dev branch now.
Currently SQL functions need to be wrapped with
mosql.util.raw
. But the down side ofraw
is that everything in it needs to be escaped manually. Maybe some limited support should be provided, at least to standard SQL functions likeAVG
,COUNT
, etc.What I currently have in mind is to replace (taken from the documentation)
with some simple syntax like
which should be pretty easy to provide.