Index

(view)

o2view_insertinto

integer o2view_insertinto(string $view_name, string $target_table)

Execute an SQL INSERT-INTO, from the given view to the target table.
All aliases of fields selected in the source view must match the name of a field in the target table.
This method returns the number of inserted rows, or FALSE on failure.


Parameters:
  1. $view_name
  2. $target_table