dp_sql_struct_do_insert db sql_struct table_nameWhat it does:
Defined in: /web/philip/tcl/data-pipeline-defs.tcl
Source code:
set sql [dp_sql_struct_make_sql_insert_statement $sql_struct $table_name] set tcl_proc [dp_sql_struct_get_tcl_proc $sql_struct] set extra_args [join [dp_sql_struct_get_tcl_extra_args $sql_struct] " "] if { [catch {eval "$tcl_proc \$db \$sql $extra_args"} err_msg] } { # Log the error message and the sql query so we can see it ns_log error "Data-pipeline: Error while processing sql query: $err_msg\n$tcl_proc $db $sql $extra_args" error $err_msg } return