pike.git
/
lib
/
modules
/
Sql.pmod
/
module.pmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Sql.pmod/module.pmod:5:
//! usuable for all normal uses is the @[Sql] class and the //! @[sql_result] class. //! //! @example //! string people_in_group(string group) { //! Sql.Sql db = Sql.Sql("mysql://localhost/testdb"); //! return db->query("SELECT name FROM users WHERE " //! "group=%s", group)->name * ","; //! }
-
constant
Null
=
Builtin
.
SqlNull
;
+
//!
@ignore
+
// Use getters and Val-> to ensure dynamic resolving in case the
+
// values in Val.pmod are replaced.
+
program `->
Null
()
{return
Val->Null;}
+
Val
.
Null `->NULL() {return Val->null
;
}
+
//! @endignore
-
//!
The
SQL
NULL
marker
.
-
constant
NULL
=
Builtin
.
SqlNULL;
+
//!
@decl
program
Null;
+
//!
@decl Val
.
Null
NULL
;
+
//!
+
//!
@deprecated
Val
.
Null, Val.null