Module: kamailio
Branch: master
Commit: 7c52ffb920ec0552a8720833223a54813affe8ee
URL:
https://github.com/kamailio/kamailio/commit/7c52ffb920ec0552a8720833223a548…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-11-03T13:21:11+01:00
usrloc: more docs for db_insert_null parameter
---
Modified: src/modules/usrloc/doc/usrloc_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/7c52ffb920ec0552a8720833223a548…
Patch:
https://github.com/kamailio/kamailio/commit/7c52ffb920ec0552a8720833223a548…
---
diff --git a/src/modules/usrloc/doc/usrloc_admin.xml
b/src/modules/usrloc/doc/usrloc_admin.xml
index fde16498d7..f7ac066c29 100644
--- a/src/modules/usrloc/doc/usrloc_admin.xml
+++ b/src/modules/usrloc/doc/usrloc_admin.xml
@@ -1088,7 +1088,14 @@ modparam("usrloc", "db_raw_fetch_type", 1)
<title><varname>db_insert_null</varname> (int)</title>
<para>
If set to 1, the insert operation to database will add null values
- in the sql statement.
+ in the statement. It has to be set to 1 for the database systems
+ that do not have table definitions that create automatically the
+ null fields (e.g., db_mongodb) for each stored record.
+ </para>
+ <para>
+ When set to 0, the fiels that default to null are not
+ added to the DB insert statement if they don't have a different
+ value, making the query smaller.
</para>
<para>
<emphasis>