Aion-Query

 view release on metacpan or  search on metacpan

i18n/Aion/Query.ru-en.po  view on Meta::CPAN

msgid "## query_stop ()"
msgstr "## query_stop()"

msgid "Создает дополнительное соединение с базой и убивает основное."
msgstr "Creates an additional connection to the base and kills the main one."

msgid "Для этого используется `$Aion::Query::base_connection_id`."
msgstr "To do this, use `$Aion::Query::base_connection_id`."

msgid "SQLite работает в том же процессе, поэтому `$Aion::Query::base_connection_id` имеет `-1`. То есть для SQLite этот метод ничего не делает."
msgstr "SQLite runs in the same process, so `$Aion::Query::base_connection_id` has `-1`. That is, for SQLite this method does nothing."

msgid "## sql_debug ($fn, $query)"
msgstr "## sql_debug ($fn, $query)"

msgid "Сохраняет запросы к базе данных в `@Aion::Query::DEBUG`. Вызывается из `query_do`."
msgstr "Stores database queries in `@Aion::Query::DEBUG`. Called from `query_do`."

msgid "# AUTHOR"
msgstr "#AUTHOR"

lib/Aion/Query.pm  view on Meta::CPAN

	
	$base->ping  # -> 0
	$Aion::Query::base->ping  # -> 1

=head2 query_stop()

Creates an additional connection to the base and kills the main one.

To do this, use C<$Aion::Query::base_connection_id>.

SQLite runs in the same process, so C<$Aion::Query::base_connection_id> has C<-1>. That is, for SQLite this method does nothing.

	my @x = query_stop;
	\@x  # --> []

=head2 sql_debug ($fn, $query)

Stores database queries in C<@Aion::Query::DEBUG>. Called from C<query_do>.

	sql_debug label => "SELECT 123";
	



( run in 0.365 second using v1.01-cache-2.11-cpan-8d75d55dd25 )