pike.git/
lib/
modules/
Sql.pmod/
mysql.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2011-03-07
2011-03-07 10:25:07 by Martin Stjernholm <mast@lysator.liu.se>
5ae246768ebfc09afa42c975633c7bd031982e29 (
21
lines) (+
6
/-
15
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed the doc parser instead of 31b2308.
14:
//! types are represented like this: //! //! @dl
-
//! @item NULL
+
//! @item
The
NULL
value
//! Returned as @[Val.null]. //!
-
//! @item BIT
-
//!
@item
TINYINT
-
//!
@item
BOOL
-
//!
@item
SMALLINT
-
//!
@item
MEDIUMINT
-
//!
@item
INT
-
//!
@item
BIGINT
+
//! @item BIT
,
TINYINT
,
BOOL
,
SMALLINT
,
MEDIUMINT
,
INT
,
BIGINT
//! Returned as pike integers. //!
-
//! @item FLOAT
-
//!
@item
DOUBLE
+
//! @item FLOAT
,
DOUBLE
//! Returned as pike floats. //! //! @item DECIMAL //! Returned as pike integers for fields that are declared to //! contain zero decimals, otherwise returned as @[Gmp.mpq] objects. //!
-
//! @item DATE
-
//!
@item
DATETIME
-
//!
@item
TIME
-
//!
@item
YEAR
+
//! @item DATE
,
DATETIME
,
TIME
,
YEAR
//! Returned as strings in their display representation (see the //! MySQL manual). //!
54:
//! @tt{UNIX_TIMESTAMP@} function in the queries to retrieve them as //! unix timestamps on integer form. //!
-
//! @item
"
String types
"
+
//! @item String types
//! All string types are returned as pike strings. The MySQL glue //! can handle charset conversions for text strings - see //! @[set_charset] and @[set_unicode_decode_mode].