File: //usr/local/rvm/gems/ruby-2.4.10/doc/sqlite3-1.4.2/ri/SQLite3/Translator/add_translator-i.ri
U:RDoc::AnyMethod[iI"add_translator:EFI"'SQLite3::Translator#add_translator;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [
I"GAdd a new translator block, which will be invoked to process type ;TI"Mtranslations to the given type. The type should be an SQL datatype, and ;TI"Omay include parentheses (i.e., "VARCHAR(30)"). However, any parenthetical ;TI"Ninformation is stripped off and discarded, so type translation decisions ;TI"-are made solely on the "base" type name.;To:RDoc::Markup::BlankLine o;
; [
I"JThe translator block itself should accept two parameters, "type" and ;TI"H"value". In this case, the "type" is the full type name (including ;TI"Lparentheses), so the block itself may include logic for changing how a ;TI"Ltype is translated based on the additional data. The "value" parameter ;TI"%is the (string) data to convert.;T@o;
; [I"2The block should return the translated value.;T:
@fileI"lib/sqlite3/translator.rb;T:0@omit_headings_from_table_of_contents_below00I"type, value;F[ I"
( type );T@FI"Translator;TcRDoc::NormalClass00