cr_count_file_entries (private)

 cr_count_file_entries name

Defined in packages/acs-content-repository/tcl/content-procs.tcl

Count entries an entries from the content repository having the specified partial path their content field.

Parameters:
name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 content::revision::check_files content::revision::check_files (private) cr_count_file_entries cr_count_file_entries content::revision::check_files->cr_count_file_entries cr_check_orphaned_files cr_check_orphaned_files (private, deprecated) cr_check_orphaned_files->cr_count_file_entries cr_delete_orphans cr_delete_orphans (private) cr_delete_orphans->cr_count_file_entries db_string db_string (public) cr_count_file_entries->db_string

Testcases:
No testcase defined.
Source code:
    db_string count_entries {
        SELECT count(*) FROM cr_revisions
        WHERE substring(content, 1, 100) = substring(:name, 1, 100)
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: