Blogs
List of the shop's blogs.
Table-Specific Information
Select
The 本製品 uses the Shopify API to process WHERE clause conditions built with the following columns and operators. The 本製品 processes other filters client-side within the 本製品.
- Id supports the '=, IN' comparison operators.
- Title supports the '=, !=' comparison operators.
- Handle supports the '=, !=' comparison operators.
- UpdatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
- CreatedAt supports the '=, !=, <, >, >=, <=' comparison operators.
For example, the following queries are processed server-side:
SELECT * FROM Blogs WHERE Id = 'Val1'
SELECT * FROM Blogs WHERE Title = 'Val1'
SELECT * FROM Blogs WHERE Handle = 'Val1'
SELECT * FROM Blogs WHERE UpdatedAt = '2023-01-01 11:10:00'
SELECT * FROM Blogs WHERE CreatedAt = '2023-01-01 11:10:00'
Insert
The following columns can be used to create a new record:
Title, Handle, TemplateSuffix, CommentPolicy
The following pseudo-column can be used to create a new record:
Metafields (references Metafields)
Metafields Temporary Table Columns
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
Update
The following columns can be updated:
Title, Handle, TemplateSuffix, CommentPolicy
The following pseudo-columns can be used to update a record:
RedirectArticles, RedirectNewHandle, Metafields (references Metafields)
Metafields Temporary Table Columns
| Column Name | Type | Description |
| Id | String | The unique ID of the metafield. |
| Namespace | String | A container for a set of metafields. You need to define a custom namespace for your metafields to distinguish them from the metafields used by other apps. |
| Key | String | The name of the metafield. |
| Value | String | The information to be stored as metadata. |
| Type | String | The metafield's information type. |
Delete
You can delete entries by specifying the following column:
Id
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
A globally-unique ID. | |
| Title | String | False |
The title of the blog. | |
| Handle | String | False |
A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title. The handle is customizable and is used by the Liquid templating language to refer to the blog. | |
| Tags | String | True |
A list of tags associated with the 200 most recent blog articles. | |
| TemplateSuffix | String | False |
The name of the template a blog is using if it's using an alternate template. Returns 'null' if a blog is using the default blog. liquid template. | |
| ArticlesCount | Int | True |
The count of elements. | |
| ArticlesCountPrecision | String | True |
The count's precision, or the exactness of the value. | |
| CommentPolicy | String | False |
Indicates whether readers can post comments to the blog and if comments are moderated or not. | |
| FeedLocation | String | True |
Blog feed provider url. | |
| FeedPath | String | True |
Blog feed provider path. | |
| UpdatedAt | Datetime | True |
The date and time when the blog was update. | |
| CreatedAt | Datetime | True |
The date and time when the blog was created. |
Pseudo-Columns
疑似カラムは、明示的にリストされているタイプのステートメントでのみ使用できるフィールドです。これらは標準的なカラムではなく、特定の操作のための追加機能を提供するものです。
| Name | Type | Description |
| RedirectArticles | Bool |
Whether to redirect blog posts automatically. |
| RedirectNewHandle | Bool |
Whether a redirect is required after a new handle has been provided. If true, then the old handle is redirected to the new one automatically. |
| Metafields | String |
Attaches additional metadata to a store's resources. |