On Fri, Mar 23, 2012 at 3:58 PM, Muhammad Umair <[email protected]> wrote:
> val_str()

This one returns field value as a string. (Remember that MySQL and
Drizzle are flexible about data types, so it is possible for instance
to do SELECT 1 + "2"; and it should magically work.)

So val_str() should return the field content as a string. If the field
is a text type, then of course it just returns that string. If it is
an integer, you have to return a text representation of that integer.
For instance the value 1 would be "1". And so forth...

> max_string_length()
> max_display_length()

I could guess, but I'm not going to say anything for these because
really I would just be making things up.


henrik


-- 
[email protected]
+358-40-8211286 skype: henrik.ingo irc: hingo
www.openlife.cc

My LinkedIn profile: http://www.linkedin.com/profile/view?id=9522559

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to