<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.miranda-ng.org/index.php?action=history&amp;feed=atom&amp;title=Plugin%3AMirLua%2FModule%2Fm_database%2Fde</id>
	<title>Plugin:MirLua/Module/m database/de - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.miranda-ng.org/index.php?action=history&amp;feed=atom&amp;title=Plugin%3AMirLua%2FModule%2Fm_database%2Fde"/>
	<link rel="alternate" type="text/html" href="https://wiki.miranda-ng.org/index.php?title=Plugin:MirLua/Module/m_database/de&amp;action=history"/>
	<updated>2026-10-18T06:23:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.miranda-ng.org/index.php?title=Plugin:MirLua/Module/m_database/de&amp;diff=46371&amp;oldid=prev</id>
		<title>Wishmaster: Created page with &quot;== Einstellungen ==&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.miranda-ng.org/index.php?title=Plugin:MirLua/Module/m_database/de&amp;diff=46371&amp;oldid=prev"/>
		<updated>2024-11-03T22:47:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Einstellungen ==&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:47, 4 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l125&quot;&gt;Line 125:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 125:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Settings &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Einstellungen &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== GetSetting ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== GetSetting ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki_miranda_ng_org:diff:1.41:old-46369:rev-46371:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Wishmaster</name></author>
	</entry>
	<entry>
		<id>https://wiki.miranda-ng.org/index.php?title=Plugin:MirLua/Module/m_database/de&amp;diff=46369&amp;oldid=prev</id>
		<title>Wishmaster: Created page with &quot;== Ereignisse ==&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.miranda-ng.org/index.php?title=Plugin:MirLua/Module/m_database/de&amp;diff=46369&amp;oldid=prev"/>
		<updated>2024-11-03T22:47:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Ereignisse ==&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:47, 4 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l37&quot;&gt;Line 37:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 37:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Events &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ereignisse &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== GetEventCount ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== GetEventCount ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wishmaster</name></author>
	</entry>
	<entry>
		<id>https://wiki.miranda-ng.org/index.php?title=Plugin:MirLua/Module/m_database/de&amp;diff=46367&amp;oldid=prev</id>
		<title>Wishmaster: Created page with &quot;== Kontakte ==&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.miranda-ng.org/index.php?title=Plugin:MirLua/Module/m_database/de&amp;diff=46367&amp;oldid=prev"/>
		<updated>2024-11-03T22:46:55Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Kontakte ==&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;languages/&amp;gt;&lt;br /&gt;
Allows you to access data and contacts in user profile database.&lt;br /&gt;
&lt;br /&gt;
{{Ls|MirLua/Modules/include_info}} &amp;lt;code&amp;gt;local db = require(&amp;#039;m_database&amp;#039;)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Kontakte ==&lt;br /&gt;
&lt;br /&gt;
=== Contacts ===&lt;br /&gt;
Iterator for list of contacts.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/parameters}} ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/param_name}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/required_param}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/type}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/description}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | name&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
| Protocol name.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/result}} ====&lt;br /&gt;
{{nbsp|5}}{{Ls|MirLua/Modules/type}} &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{nbsp|5}}Returns contact number. The list ends in element with &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt; value.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/example}} ====&lt;br /&gt;
{{Content:MirLua/Example|code=&lt;br /&gt;
for hContact in db.Contacts(&amp;#039;JABBER_1&amp;#039;) do&lt;br /&gt;
  print(db.GetSetting(hContact, &amp;#039;JABBER_1&amp;#039;, &amp;#039;Nick&amp;#039;))&lt;br /&gt;
end&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Events ==&lt;br /&gt;
&lt;br /&gt;
=== GetEventCount ===&lt;br /&gt;
Number of events for a contact.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/parameters}} ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/param_name}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/required_param}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/type}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/description}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | hContact&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
| Contact number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/result}} ====&lt;br /&gt;
{{nbsp|5}}{{Ls|MirLua/Modules/type}} &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{nbsp|5}}Returns number of events.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/example}} ====&lt;br /&gt;
{{Content:MirLua/Example|code=db.GetEventCount(hContact)}}&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Events ===&lt;br /&gt;
Iterator for contact&amp;#039;s event list from the first to the last.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/parameters}} ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/param_name}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/required_param}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/type}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/description}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | hContact&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
| Contact number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/result}} ====&lt;br /&gt;
{{nbsp|5}}{{Ls|MirLua/Modules/type}} &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{nbsp|5}}Returns event number. The list ends in element with &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt; value.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/example}} ====&lt;br /&gt;
{{Content:MirLua/Example|code=for hEvent in db.Events(hContact) do&lt;br /&gt;
  local event = totable(hEvent, &amp;quot;DBEVENTINFO&amp;quot;)&lt;br /&gt;
  print(event.Timestamp, event.Blob)&lt;br /&gt;
end&lt;br /&gt;
}}&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== EventsFromEnd ===&lt;br /&gt;
Iterator for contact&amp;#039;s event list from the last to the first.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/parameters}} ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/param_name}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/required_param}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/type}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/description}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | hContact&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
| Contact number.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/result}} ====&lt;br /&gt;
{{nbsp|5}}{{Ls|MirLua/Modules/type}} &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{nbsp|5}}Returns event number. The list ends in element with &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt; value.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/example}} ====&lt;br /&gt;
{{Content:MirLua/Example|code=&lt;br /&gt;
for hEvent in db.EventsFromEnd(hContact) do&lt;br /&gt;
  local event = totable(hEvent, &amp;quot;DBEVENTINFO&amp;quot;)&lt;br /&gt;
  print(event.Timestamp, event.Blob)&lt;br /&gt;
end&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Settings ==&lt;br /&gt;
&lt;br /&gt;
=== GetSetting ===&lt;br /&gt;
Returns value of a setting.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/parameters}} ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/param_name}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/required_param}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/type}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/description}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | hContact&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
| Contact number or &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | module&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
| Module name.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | setting&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
| Setting name.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | value&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/no}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
| Default value.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/result}} ====&lt;br /&gt;
{{nbsp|5}}{{Ls|MirLua/Modules/type}} &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{nbsp|5}}Returns value of a setting or default value or &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/example}} ====&lt;br /&gt;
{{Content:MirLua/Example|code=db.GetSetting(nil, &amp;#039;test&amp;#039;, &amp;#039;some&amp;#039;)}}&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== Settings ===&lt;br /&gt;
Iterator for module (group of settings).&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/parameters}} ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/param_name}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/required_param}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/type}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/description}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | hContact&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
| Contact number or &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | module&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
| Module name.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/result}} ====&lt;br /&gt;
{{nbsp|5}}{{Ls|MirLua/Modules/type}} &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{nbsp|5}}Returns module name. The list ends in element with &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt; value.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/example}} ====&lt;br /&gt;
{{Content:MirLua/Example|code=&lt;br /&gt;
for setting in db.Settings(nil, &amp;#039;CList&amp;#039;) do&lt;br /&gt;
  local message = string.format(&amp;quot;%s/%s = &amp;quot;, &amp;#039;CList&amp;#039;, setting, ...)&lt;br /&gt;
   .. db.GetSetting(nil, &amp;#039;CList&amp;#039;, setting)&lt;br /&gt;
  print(message)&lt;br /&gt;
end&lt;br /&gt;
}}&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== WriteSetting ===&lt;br /&gt;
Saves a value to database.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/parameters}} ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/param_name}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/required_param}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/type}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/description}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | hContact&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
| Contact number or &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | module&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
| Module name.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | setting&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
| Setting name.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | value&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;table&amp;lt;/code&amp;gt; (array of bytes)&lt;br /&gt;
| Setting value.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | type&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/no}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
| Type of setting. Takes values:&lt;br /&gt;
* 1 = DBVT_BYTE&lt;br /&gt;
* 2 = DBVT_WORD&lt;br /&gt;
* 4 = DBVT_DWORD&lt;br /&gt;
* 252 = DBVT_WCHAR&lt;br /&gt;
* 253 = DBVT_UTF8&lt;br /&gt;
* 254 = DBVT_BLOB&lt;br /&gt;
* 255 = DBVT_ASCIIZ&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/result}} ====&lt;br /&gt;
{{nbsp|5}}{{Ls|MirLua/Modules/type}} &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{nbsp|5}}Returns &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; on success, otherwise &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/example}} ====&lt;br /&gt;
{{Content:MirLua/Example|code=db.WriteSetting(nil, &amp;#039;test&amp;#039;, &amp;#039;some&amp;#039;, true)}}&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== DeleteSetting ===&lt;br /&gt;
Deletes a setting.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/parameters}} ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/param_name}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/required_param}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/type}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/description}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | hContact&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
| Contact number or &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | module&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
| Module name.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | setting&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
| Setting name.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/result}} ====&lt;br /&gt;
{{nbsp|5}}{{Ls|MirLua/Modules/type}} &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{nbsp|5}}Returns &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; on success, otherwise &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/example}} ====&lt;br /&gt;
{{Content:MirLua/Example|code=db.DeleteSetting(nil, &amp;#039;test&amp;#039;, &amp;#039;some&amp;#039;)}}&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
=== DeleteModule ===&lt;br /&gt;
Deletes a module (group of settings).&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/parameters}} ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/param_name}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|MirLua/Modules/required_param}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/type}}&lt;br /&gt;
! scope=&amp;quot;col&amp;quot; | {{Ls|Content/TableHeaders/description}}&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | hContact&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
| Contact number or &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot; class=&amp;quot;MirLuaParametersTable-parameter&amp;quot; | module&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | {{Ls|YesNo/yes}}&lt;br /&gt;
| style=&amp;quot;text-align:center&amp;quot; | &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
| Module name.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/result}} ====&lt;br /&gt;
{{nbsp|5}}{{Ls|MirLua/Modules/type}} &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{nbsp|5}}Returns &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; on success, otherwise &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==== {{Ls|MirLua/Modules/example}} ====&lt;br /&gt;
{{Content:MirLua/Example|code=db.DeleteModule(nil, &amp;#039;test&amp;#039;)}}&lt;/div&gt;</summary>
		<author><name>Wishmaster</name></author>
	</entry>
</feed>