ProductShippingClasses
Retrieve and modify product shipping classes.
Table Specific Information
Select
WooCommerce allows only a small subset of columns to be used in the WHERE clause of a SELECT query.
These columns support only the = comparison, unless stated otherwise. The available columns for this
table are: Id, Slug, ProductId. All other columns are processed client side.
SELECT * FROM ProductShippingClasses WHERE Id = 4 SELECT * FROM ProductShippingClasses WHERE ProductId = 16
Insert
The following attribute is required when performing an insert: Name.
INSERT INTO ProductShippingClasses (Name) VALUES ('class_name')
Columns
Name | Type | ReadOnly | References | Description |
Id [KEY] | Long | True |
Unique identifier for the resource. | |
Name | String | False |
Shipping class name. | |
Slug | String | False |
An alphanumeric identifier for the resource unique to its type. | |
Description | String | False |
HTML description of the resource. | |
Count | Integer | True |
Number of published products for the resource. | |
ProductId | Long | False |
Limit result set to resources assigned to a specific product. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
ReferenceNumber | String |
This column will be used in Bulk operations to get specific values from the Temp tables. |