From 1d358e6ebb75f04d3a46a81770e4131cc4d9e05b Mon Sep 17 00:00:00 2001 From: Fredrik Noring <noring@nocrew.org> Date: Tue, 15 Feb 2000 15:36:08 +0100 Subject: [PATCH] Added values and extra modeflag Q in Yabu. Rev: tutorial/tutorial.wmml:1.184 --- tutorial/tutorial.wmml | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/tutorial/tutorial.wmml b/tutorial/tutorial.wmml index ba8ff490aa..388dc22a2e 100644 --- a/tutorial/tutorial.wmml +++ b/tutorial/tutorial.wmml @@ -9095,6 +9095,9 @@ updates accordingly.<p> <li>"t" - Transaction mode. The database now allows transactions.<p> <li>"C" - Compress mode. Provided the <link to=Gz>Gz module</link> is available, all records will be compressed before stored on to disk.<p> +<li>"Q" - Quick recovery. Should be avoided if possible. This flag makes +Yabu wait for a shorter period of time when it finds lost PID-files +(which occurs when the database is not shut down properly).<p> </ul> </ol> </man_description> @@ -9163,6 +9166,26 @@ This method lists all available tables. Yabu.db->table, Yabu.db->sync, Yabu.db->purge +Yabu.db->_values +</man_see> + +</method> + + + +<method name=Yabu.db->_values title="Get all tables"> +<man_syntax> +array(Yabu.table) _values();<br> +</man_syntax> +<man_description> +This method returns all available tables. +</man_description> + +<man_see> +Yabu.db->table, +Yabu.db->sync, +Yabu.db->purge +Yabu.db->_indices </man_see> </method> @@ -9273,6 +9296,27 @@ Yabu.table->set, Yabu.table->get, Yabu.table->delete, Yabu.table->purge +Yabu.table->_values +</man_see> + +</method> + + + +<method name=Yabu.table->_values title="Get all the records in a table"> +<man_syntax> +array(mixed) _values();<br> +</man_syntax> +<man_description> +This method returns all record names in the table. +</man_description> + +<man_see> +Yabu.table->set, +Yabu.table->get, +Yabu.table->delete, +Yabu.table->purge +Yabu.table->_indices </man_see> </method> -- GitLab