WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

Install::update_db_version() public WC 1.0

Update WC Admin version to current.

{} It's a method of the class: Install{}

No Hooks.

Return

null. Nothing.

Usage

$result = Install::update_db_version( $version );
$version(string|null)
New WooCommerce Admin DB version or null.

Code of Install::update_db_version() WC 5.3.0

<?php
public static function update_db_version( $version = null ) {
	delete_option( self::VERSION_OPTION );
	add_option( self::VERSION_OPTION, is_null( $version ) ? WC_ADMIN_VERSION_NUMBER : $version );
}