CData Cloud は、クラウドホスト型のソリューションで、複数の標準サービスやプロトコルにまたがるGMO MakeShop へのアクセスを実現します。MySQL またはSQL Server データベースに接続できるアプリケーションであれば、CData Cloud を介してGMO MakeShop に接続できます。
CData Cloud により、他のOData エンドポイントや標準SQL Server / MySQL データベースと同じように、GMO MakeShop への接続を標準化し、構成することができます。
このページでは、CData Cloud でのGMO MakeShop への接続の確立 のガイド、利用可能なリソースに関する情報、および使用可能な接続プロパティのリファレンスについて説明します。
接続の確立 は、CData Cloud にデータベースを作成するためのGMO MakeShop への認証方法と必要な接続プロパティの設定方法について示します。
利用可能な標準サービスを経由してGMO MakeShop からデータにアクセスする方法と、CData Cloud の管理については、CData Cloud ドキュメント で詳しく説明します。
Database タブで対応するアイコンを選択して、GMO MakeShop に接続します。必須プロパティはSettings にリストされています。Advanced タブには、通常は必要ない接続プロパティが表示されます。
CData Cloud を使用してGMO MakeShop に接続する場合は、 MembersAccessCode、OrdersAccessCode、ProductsAccessCode、およびShopId が必要です。
GMO MakeShop には各API のAccessCode が必要です。MembersAccessCode、OrdersAccessCode、ProductsAccessCode、およびShopId を取得するには、以下の手順に従ってください。
次の接続プロパティを設定して接続します。
デフォルトでは、Cloud はサーバーの証明書をシステムの信頼できる証明書ストアと照合してSSL / TLS のネゴシエーションを試みます。
別の証明書を指定するには、利用可能なフォーマットについてSSLServerCert プロパティを参照してください。
Windows のシステムプロキシ経由の接続では、接続プロパティを追加で設定する必要はありません。他のプロキシに接続するには、ProxyAutoDetect をfalse に設定します。
さらにHTTP プロキシへの認証には、ProxyServer とProxyPort に加えてProxyAuthScheme、ProxyUser、およびProxyPassword を設定します。
次のプロパティを設定します。
CData Cloud はGMO MakeShop オブジェクトをリレーショナルテーブルおよびビューとしてモデル化します。 サーバーから来る情報はURL エンコードされています。隠し接続プロパティ 'DecodeValues' があり、デフォルトはtrueで、デコードされたデータを公開します。生のエンコードデータを表示するには、Other 接続プロパティ内でこれをfalse に設定します。 GMO MakeShop オブジェクトは他のオブジェクトとリレーションを持ちます。テーブルでは、これらのリレーションは外部キーを使用して表されます。 次のセクションでは、利用可能なAPI オブジェクトを示し、GMO MakeShop API へのSQL の実行について詳しく説明します。
ほとんどのデータベースオブジェクトのスキーマは、シンプルなテキストベースのコンフィギュレーションファイルで定義されます。
Cloud はGMO MakeShop のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。
Name | Description |
Members | Retrieve and query information related to members. |
Retrieve and query information related to members.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
Ordering is supported for JoinDate.
For example, the following queries are processed server side:
SELECT * FROM Members WHERE MemberId = 'MemberIdHere' AND JoinDate >= '2018-09-04 22:54:43+01:00' AND JoinDate <= '2018-09-04 23:54:43+01:00' ORDER BY JoinDate ASC
SELECT * FROM Members WHERE MemberNameKana = 'Firstname Lastname' AND JoinDate > '2018-09-04 22:54:43+01:00' AND JoinDate < '2018-09-04 23:54:43+01:00' ORDER BY JoinDate DESC
SELECT * FROM Members WHERE JoinDate = '2018-09-04 23:54:43+01:00' AND GetDeleted = '1'
All columns except JoinDate can be specified. MemberId, MemberName, MemberNameKana, Email, MemberPassword, HomePost, HomePrefecture, HomePrefectureCode, HomeAddress1, HomePhone are required for an insert.
INSERT INTO Members (MEmberId, MemberName, MemberNameKana, Email, MemberPassword, HomePost, HomePrefecture, HomePrefectureCode, HomeAddress1, HomePhone) VALUES ('mymemberid', 'the name', 'Firstname Lastname', 'test@domain.com', 'Passw0rd', '1508512', 'Prefecture', '13', 'Address here', '453-345')
All columns except JoinDate can be updated. MemberId is required in the criteria for an update.
UPDATE Members SET MemberName = 'updName' WHERE MemberId = 'MemberIdHere'
A member can be deleted by specifying MemberId.
DELETE FROM Members WHERE MemberId = 'MemberIdHere'
Name | Type | ReadOnly | Description |
MemberId [KEY] | String | False |
Member ID. |
MemberName | String | False |
Member name. |
MemberNameKana | String | False |
Member name phonetic. |
JoinDate | Date | True |
Date of registration. |
GroupId | Integer | False |
Member group ID. |
GroupName | String | False |
Member group name. |
String | False |
Member email address. | |
MemberPassword | String | False |
Member password - specified on an Insert. |
EmailMagazineReceive | String | False |
Indicator whether to receive mail magazine - Y: Wish to distribute e-mail newsletter, N: I do not wish to deliver e-mail newsletters. 使用できる値は次のとおりです。Y, N |
Sex | Integer | False |
Member gender - 0: Male 1: Female. 使用できる値は次のとおりです。0, 1 |
Birthday | Date | False |
Member birthday. |
MemberPoint | Integer | False |
Store shop points owned by members. |
MemberPointExpireDate | Date | False |
Owned shop point expiration date. |
RecommendMemberId | String | False |
Store introducer's member ID. |
HomePost | String | False |
Home zip code. |
HomePrefectureCode | String | False |
Home prefecture code. |
HomePrefecture | String | False |
Home prefecture name. |
HomeAddress1 | String | False |
Home address. |
HomeAddress2 | String | False |
Other address. |
HomePhone | String | False |
Home phone number. |
HomeFax | String | False |
Home fax number. |
MobilePhone | String | False |
Mobile phone number. |
MobileEmail | String | False |
Mobile email address. |
OfficeName | String | False |
Company name. |
OfficeNameKana | String | False |
Company name phonetic. |
OfficeDepartment | String | False |
Company department. |
OfficePost | String | False |
Company zip code. |
OfficePrefectureCode | String | False |
Company prefecture code. |
OfficePrefecture | String | False |
Company prefecture name. |
OfficeAddress | String | False |
Company address. |
OfficePhone | String | False |
Company phone number. |
AdditionalOption1 | String | False |
Additional input item 1. |
AdditionalOption2 | String | False |
Additional input item 2. |
AdditionalOption3 | String | False |
Additional input item 3. |
AdditionalOption4 | String | False |
Additional input item 4. |
AdditionalOption5 | String | False |
Additional input item 5. |
AdditionalOption6 | String | False |
Additional input item 6. |
AdditionalOption7 | String | False |
Additional input item 7. |
LoginEmail | String | False |
Mail address authentication setting - Y: allow member login with e-mail address N: do not allow member login with e-mail address. |
Memo | String | False |
Member information memo. 使用できる値は次のとおりです。Y, N |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
GetDeleted | Integer |
Specify this as 1 to acquire deleted members. Defaults to 0 and deleted members will not be retrieved. 使用できる値は次のとおりです。0, 1 |
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
Name | Description |
OrderDeliveries | Returns data regarding shipping destinations. |
OrderDeliveryCarriages | Returns data regarding delivery carriage. |
OrderDeliveryLineItems | Returns data regarding order delivery specific items. |
OrderDeliveryNotes | Returns data regarding order delivery notes. |
OrderLineItems | Returns data regarding order details. |
OrderNotes | Returns data regarding order notes. |
Orders | Returns information regarding orders. |
ProductCategories | Returns information regarding categories for the products. |
ProductMemberGroupPrices | Returns information regarding prices by member groups. |
ProductNameOptionGroups | Returns information related to product naming option groups and items. |
ProductOptionGroupItems | Returns data related to option groups and their items. |
ProductOptionItems | Returns data related to item selection options for product. |
Products | Returns information related to products. |
ProductSelectOptions | Returns data related to option selections. |
Returns data regarding shipping destinations.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM OrderDeliveries WHERE OrderNumber = 'ORD12345' AND Date >= '2018-09-04 22:54:43+01:00' AND Date <= '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveries WHERE Date > '2018-09-04 22:54:43+01:00' AND Date < '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveries WHERE Date = '2018-09-04 23:54:43+01:00' AND Canceled = 1
Name | Type | Description |
OrderNumber [KEY] | String | Order number. |
Date | Datetime | Order date. |
DeliveryId [KEY] | Integer | Id of the order delivery. |
DeliveryNumber | String | Shipping slip number. |
DeliveryOrder | Integer | Shipping instructions - 0: not instructed, 1: shipping instructed, 2: shipping preparation in progress |
Status | Integer | Status of the order delivery. |
OfficeName | String | Destination company name. |
OfficeNameKana | String | Destination company name phonetic. |
Department | String | Destination department name. |
Name | String | Destination name. |
NameKana | String | Destination name phonetic. |
PhoneNumber | String | Destination phone number. |
Zip | String | Destination postal code. |
Area | String | Destination prefecture. |
Address | String | Destination street address. |
DeliveryDate | Date | Desired delivery day. |
DeliveryTime | String | Desired delivery time. |
ScheduledShippingDate | Date | Estimated shipping date. |
ShippingDate | Datetime | Delivery completion date and time. |
Carrier | String | Delivery trader code. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Canceled | Integer | Specify this as 1 to acquire canceled orders. Defaults to 0 and canceled orders will not be retrieved.
使用できる値は次のとおりです。0, 1 |
Returns data regarding delivery carriage.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM OrderDeliveryCarriages WHERE OrderNumber = 'ORD12345' AND Date >= '2018-09-04 22:54:43+01:00' AND Date <= '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveryCarriages WHERE Date > '2018-09-04 22:54:43+01:00' AND Date < '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveryCarriages WHERE Date = '2018-09-04 23:54:43+01:00' AND Canceled = 1
Name | Type | Description |
OrderNumber [KEY] | String | Order number. |
DeliveryId [KEY] | Integer | Id of the order delivery. |
Date | Datetime | Order date. |
CarriageName [KEY] | String | Shipping method name. |
CarriagePrice | Integer | Shipping method price. |
CarriageCost | Integer | Shipping fee. |
CarriageDetail | String | Shipping details. |
CarriageCommodityBrandCode | String | Commodity brandcode. |
CarriageCommodityName | String | Commodity name. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Canceled | Integer | Specify this as 1 to acquire cancelled orders. Defaults to 0 and cancelled orders will not be retrieved.
使用できる値は次のとおりです。0, 1 |
Returns data regarding order delivery specific items.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM OrderDeliveryLineItems WHERE OrderNumber = 'ORD12345' AND Date >= '2018-09-04 22:54:43+01:00' AND Date <= '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveryLineItems WHERE Date > '2018-09-04 22:54:43+01:00' AND Date < '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveryLineItems WHERE Date = '2018-09-04 23:54:43+01:00' AND Canceled = 1
Name | Type | Description |
OrderNumber [KEY] | String | Order number. |
Date | Datetime | Order date. |
DeliveryId [KEY] | Integer | Id of the order delivery. |
BrandCode [KEY] | String | System product code. |
OriginalCode | String | Original product code. |
Name | String | Product name. |
Price | Integer | Selling price. |
Point | Integer | Product points. |
Amount | Integer | Order quantity. |
ConsumptionTaxRate | Integer | Sales tax rate. |
Option | String | Product option names. |
OriginalOptionCode | String | Original option code. |
NameOptions | String | Original option code. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Canceled | Integer | Specify this as 1 to acquire cancelled orders. Defaults to 0 and cancelled orders will not be retrieved.
使用できる値は次のとおりです。0, 1 |
Returns data regarding order delivery notes.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM OrderDeliveryNotes WHERE OrderNumber = 'ORD12345' AND Date >= '2018-09-04 22:54:43+01:00' AND Date <= '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveryNotes WHERE Date > '2018-09-04 22:54:43+01:00' AND Date < '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveryNotes WHERE Date = '2018-09-04 23:54:43+01:00' AND Canceled = 1
Name | Type | Description |
OrderNumber [KEY] | String | Order number. |
Date | Datetime | Order date. |
DeliveryId [KEY] | Integer | Delivery ID. |
NoteNumber [KEY] | String | Delivery note number. |
NoteTitle | String | Delivery note title. |
NoteValue | String | Delivery note. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Canceled | Integer | Specify this as 1 to acquire canceled orders. Defaults to 0 and canceled orders will not be retrieved.
使用できる値は次のとおりです。0, 1 |
Returns data regarding order details.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM OrderLineItems WHERE OrderNumber = 'ORD12345' AND Date >= '2018-09-04 22:54:43+01:00' AND Date <= '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderLineItems WHERE Date > '2018-09-04 22:54:43+01:00' AND Date < '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderLineItems WHERE Date = '2018-09-04 23:54:43+01:00' AND Canceled = 1
Name | Type | Description |
OrderNumber [KEY] | String | Order number. |
Date | Datetime | Order date. |
BrandCode [KEY] | String | System product code. |
OriginalCode | String | Original product code. |
Name | String | Product name. |
JanCode | String | JAN code. |
DiscountRate | Integer | Discount percentage. |
Price | Integer | Product price. |
ShopPoints | Integer | Shop use points. |
GMOPoints | Integer | GMO use points. |
YahooPoints | Integer | Yahoo use points. |
Amount | Integer | Order quantity. |
ConsumptionTaxRate | Integer | Sales tax rate. |
Option | String | Product option names. |
OriginalOptionCode | String | Original option code. |
NameOptions | String | Item name options. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Canceled | Integer | Specify this as 1 to acquire cancelled orders. Defaults to 0 and cancelled orders will not be retrieved.
使用できる値は次のとおりです。0, 1 |
Returns data regarding order notes.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM OrderNotes WHERE OrderNumber = 'ORD12345' AND Date >= '2018-09-04 22:54:43+01:00' AND Date <= '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderNotes WHERE Date > '2018-09-04 22:54:43+01:00' AND Date < '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderNotes WHERE Date = '2018-09-04 23:54:43+01:00' AND Canceled = 1
Name | Type | Description |
OrderNumber [KEY] | String | Order number. |
Date | Datetime | Order date. |
NoteNumber [KEY] | String | Order note number. |
NoteTitle | String | Order note title. |
NoteValue | String | Order note. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Canceled | Integer | Specify this as 1 to acquire canceled orders. Defaults to 0 and canceled orders will not be retrieved.
使用できる値は次のとおりです。0, 1 |
Returns information regarding orders.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM Orders WHERE OrderNumber = 'ORD12345' AND Date >= '2018-09-04 22:54:43+01:00' AND Date <= '2018-09-04 23:54:43+01:00'
SELECT * FROM Orders WHERE Date > '2018-09-04 22:54:43+01:00' AND Date < '2018-09-04 23:54:43+01:00'
SELECT * FROM Orders WHERE Date = '2018-09-04 23:54:43+01:00' AND Canceled = 1
Name | Type | Description |
OrderNumber [KEY] | String | Order number. |
Date | Datetime | Order date. |
Status | Integer | Order status - 0: Canceled 1: Normal 99: Temporary order. |
RepeatSaleCount | Integer | Number of subscriptions. |
PaymentMethod | String | Payment method. |
PaymentMethodType | String | Payment method type. |
PaymentStatus | Integer | Deposit status - 0: Not received 1: Deposit complete. |
OrderMemo | String | Notes in detailed order information |
DetailTotalPrice | Integer | Total order price. |
DetailPricePerTaxRate8 | Integer | Total price of 8% tax rate. |
DetailPricePerTaxRate10 | Integer | Total price of 10% tax rate. |
DetailCommission | Integer | Settlement fee. |
DetailCommissionName | String | Settlement name fee. |
DetailPoint | Integer | Order points. Displayed when the point grant (rate and amount) is set in the member group setting. |
DetailDiscountPrice | Integer | Discount price. Displayed when the point grant (rate and amount) is set in the member group setting.. |
DetailCorrection | Integer | Amendment amount. |
DetailCarriage | Integer | Shipping cost. |
DetailCouponName | String | Coupon name. |
DetailCouponCode | String | Coupon code. |
DetailCouponDiscount | Integer | Coupon Discount Amount. |
DetailBulkDiscount | Integer | Bulk Discount Amount. |
ShopPoints | Integer | Shop use points. |
GMOPoints | Integer | GMO use points. |
YahooPoints | Integer | Yahoo use points. |
BuyerId | String | Buyer ID. |
BuyerOfficeName | String | Buyer company name. |
BuyerOfficeNameKana | String | Buyer company name phonetic. |
BuyerDepartment | String | Buyer department name. |
BuyerName | String | Buyer name. |
BuyerNameKana | String | Buyer name phonetic. |
BuyerPhoneNumber | String | Buyer phone number. |
BuyerPhoneNumber2 | String | Second buyer phone number. |
BuyerEmail | String | Buyer email address. |
BuyerZip | String | Buyer postal code. |
BuyerAddress | String | Buyer street address. |
BuyerMembergroupid | Integer | Buyer member group code. |
BuyerMembergroupname | String | Buyer member group name. |
CombinedPaymethodType | String | Combined payment method. |
CombinedPaymethod | String | Combined payment method type. |
CombinedPrice | Integer | Combined payment price. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Canceled | Integer | Specify this as 1 to acquire canceled orders. Defaults to 0 and canceled orders will not be retrieved.
使用できる値は次のとおりです。0, 1 |
Returns information regarding categories for the products.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM ProductCategories WHERE BrandCode = 'CD12345'
Name | Type | Description |
BrandCode [KEY] | String | System product code. |
CategoryCode [KEY] | String | Category Code. |
CategoryPath | String | Category Path. |
Returns information regarding prices by member groups.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM ProductMemberGroupPrices WHERE BrandCode = 'CD12345'
Name | Type | Description |
BrandCode [KEY] | String | System product code. |
GroupId [KEY] | Integer | Member group ID. |
GroupName | String | Member group name. |
Price | Integer | Price by member group. |
Point | Integer | Points by member group. |
PointType | Integer | Point type - 0: Absolute value of point 1: Rate according to price. |
Returns information related to product naming option groups and items.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM ProductNameOptionGroups WHERE BrandCode = 'CD12345'
Name | Type | Description |
BrandCode [KEY] | String | System product code. |
NameOptionGroupId | Integer | Insert name group ID. |
NameOptionGroupLabel | String | Insert name group name. |
NameOptionGroupDescription | String | Insert name group description. |
ItemId [KEY] | Integer | Item ID. |
AdminItemName | String | Administrator item name. |
DisplayItemName | String | Display item name. |
IsRequired | String | Selection requirement - Y: Required input N: Optional input. |
IsAlphabet | String | Alphabetical validation - Y: Can be input N: Can not be input. |
IsNumber | String | Numerical validation - Y: Can be input N: Can not be input. |
IsSymbol | String | Symbols |
IsDoubleByte | String | Double byte character validation - Y: Can be input N: Can not be input. |
RowMaxlength | Integer | Number of characters per line. |
MaxRow | Integer | Number of lines. |
MaxLength | Integer | Maximum number of characters. |
Returns data related to option groups and their items.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM ProductOptionGroupItems WHERE BrandCode = 'CD12345'
Name | Type | Description |
BrandCode [KEY] | String | System product code. |
GroupCode | String | Group code. |
GroupName | String | Group name. |
OptionId [KEY] | Integer | Option ID. |
OptionName | String | Option name. |
IsRequired | String | Indicates if the option is required - Y: Required input N: Optional input. |
ItemId [KEY] | Integer | Item ID. |
ItemName | String | Item name. |
PriceType | Integer | Item price type - 0: Designate by amount 1: Specify at rate according to selling price. |
ItemPrice | Integer | Item price. |
Default | String | Indicator if item is initial selection - Y: Selected in initial display N: Not selected in initial display. |
Returns data related to item selection options for product.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM ProductOptionItems WHERE BrandCode = 'CD12345'
Name | Type | Description |
BrandCode [KEY] | String | System product code. |
OptionNumber | String | Option item number (Option item 1 or 2). |
ItemId [KEY] | Integer | Selection item ID. |
ItemName | String | Selection item name. |
Default | String | Indicator if option item is initial selection - Y: Selected in initial display N: Not selected in initial display. |
Returns information related to products.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
Ordering is supported for one of CreatedDate, ModifiedDate, ProductName, Price.
For example, the following queries are processed server side:
SELECT * FROM Products WHERE BrandCode = 'CD12345' AND ModifiedDate >= '2018-09-04 22:54:43+01:00' AND ModifiedDate <= '2018-09-04 23:54:43+01:00' ORDER BY CreatedDate ASC
SELECT * FROM Products WHERE UbrandCode = 'CD0012345' AND ModifiedDate > '2018-09-04 22:54:43+01:00' AND ModifiedDate < '2018-09-04 23:54:43+01:00' ORDER BY ProductName ASC
SELECT * FROM Products WHERE ModifiedDate = '2018-09-04 23:54:43+01:00' AND CategoryCode = 'CT001' ORDER BY Price DESC
Name | Type | Description |
BrandCode [KEY] | String | System product code. |
UbrandCode | String | Original product code. |
CreatedDate | Datetime | Date and time information of product registration. |
ModifiedDate | Datetime | Date and time information of product last modification. |
IsDisplayed | String | Product display availability - Y: Displayed N: Not displayed. |
IsMemberOnly | String | Members only setting.Y: This is a member exclusive product N: Not a member exclusive product |
IsReducedTaxRateBrand | Boolean | Boolean displaying if the brand is eligible for reduced tax rate |
DisplayableMemberGroups | String | Displayable member group names. List seperated by pipeline. |
BasicCategoryCode | String | Code of the lowest hierarchical node of the basic category. |
BasicCategoryPath | String | Path of the lowest hierarchical node of the basic category. |
ProductID | Integer | Product ID. |
ProductName | String | Product name. |
Weight | Integer | Product weight. |
Price | Integer | Selling price. |
ConsumptionTaxRate | Integer | Sales tax rate. |
GroupId | Integer | . |
GroupName | String | . |
Point | String | Product points. |
PointType | Integer | Point type - 0: Absolute value of point 1: Rate with respect to price. |
FixedPrice | Integer | List price. |
PurchasePrice | Integer | Purchase price. |
JANcode | String | JAN code of the product. |
Vendor | String | Product manufacturer. |
Origin | String | Place of origin. |
IsDisplayOrigin | Integer | Place of origin display flag - 0: Show Origin 1: Do not.
使用できる値は次のとおりです。0, 1 |
Stock | Integer | Product quantity. |
IsDiplayStock | Integer | Quantity display flag - 0: Do not display stock number 1: Display stock number.
使用できる値は次のとおりです。0, 1 |
MinimumQuantity | Integer | Minimum order limit. |
MaximumQuantity | Integer | Maximum order limit. |
Collections | Integer | Display position - 0: New item 1: Special item 2: Recommended 3: Category Recommended items. |
IndividualShipping | Long | Individual postage setting. |
IsPublishDateFrom | Integer | Posting date designation flag - 0: Do not set posting start date 1: Set posting start date.
使用できる値は次のとおりです。0, 1 |
PublishDateFrom | Datetime | Posting start date. |
IsPublishDateTo | Integer | Posting end date designation flag - 0: Do not set the posting end date 1: Set posting end date.
使用できる値は次のとおりです。0, 1 |
PublishDateTo | Datetime | Posting end date. |
IsDiscountRate | Integer | Discount use flag - 0: Enable discount 1: Disable discount. |
DiscountRate | Integer | Discount rate percentage. |
DiscountTerm | String | Discount period interval dates. |
ItemGroup | String | Product group. |
SearchKeyword | String | Product search term. |
Note | String | Product specific display note. |
OptionName1 | String | First name of the lowest product option. |
OptionName2 | String | Second name of the lowest product option.. |
OptionGroupCode | String | Option group code of the lowest set product. |
OptionGroupName | String | Option group name of the lowest set product. |
NameOptionGroupId | String | Insert name group ID of the lowest set name insertion group. |
NameOptionGroupLabel | String | Insert name group label of the lowest set name insertion group. |
NameOptionGroupDescription | String | Insert name group description of the lowest set name insertion group.. |
ProductPageUrl | String | Product details page URL . |
ZoomImageUrl | String | URL of enlarged image. Multiple product images are not displayed. |
ImageUrl | String | Regular image URL. Multiple product images are not displayed. |
ThumbnailImageUrl | String | URL of thumbnail image . |
MobileImageUrl | String | Mobile image URL. |
SubImage1Url | String | URL of additional product image 1. |
IsDisplayMobileSubImage1 | Integer | Additional product image mobile display - 0: Display additional product image 1 on mobile, 1: Do not display. |
SubImage1Content | String | Product image 1 description. |
SubImage2Url | String | URL of additional product image 2. |
IsDisplayMobileSubImage2 | Integer | Additional product image mobile display - 0: Display additional product image 2 on mobile, 1: Do not display.. |
SubImage2Content | String | Product image 2 description. |
SubImage3Url | String | URL of additional product image 3. |
IsDisplayMobileSubImage3 | Integer | Additional product image mobile display - 0: Display additional product image 3 on mobile, 1: Do not display.. |
SubImage3Content | String | Product image 3 description. |
SubImageLayout | String | Layout specification - A/B/C/D. |
MainContent | String | Main product description for PC. |
MainContent2 | String | Additional description for PC. |
MobileContent | String | Mobile item description. |
SmartphoneContent1 | String | First product description for smartphones. |
SmartphoneContent2 | String | Second product description for smartphones. |
IsDisplayMobileContent | String | Mobile display of first description on smartphone product - Y: Display explanatory text N: Do not display explanatory text. |
ProductListContent | String | Product description for product category. |
IsDisplayProductListContent | String | Possibility to display product description for product category - Y: Display explanatory text N: Do not display explanatory text. |
OrderPageNote | String | Settlement screen remarks . |
IsRestockNotification | String | Stock notice - Y: Restocked Notification N: Not Receiving Notification. |
GoogleShoppingCondition | String | Google shopping product status flag - New/Second hand/Refurbished. |
GoogleShoppingTitle | String | Google shopping product name. |
GoogleShoppingDescription | String | Google shopping product details. |
GoogleShoppingOptionLayoutType | String | Google shopping product option display format. |
GoogleShoppingIsbnCode | String | Google shopping product ISBN code. |
GoogleShoppingBrand | String | Google shopping product brand name. |
GoogleShoppingMnp | String | Google shopping product manufacturer model number. |
GoogleShoppingGoogleProductCategory | String | Google shopping product google category. |
GoogleShoppingGender | Integer | Google shopping product gender - 1: Male 2: Female 3: Unisex. |
GoogleShoppingAgeGroup | Integer | Google shopping product age group - 1: Adult 2: Child. |
GoogleShoppingColor | String | Google shopping product color. |
GoogleShoppingSize | String | Google shopping product size. |
GoogleShoppingMaterial | String | Google shopping product material. |
GoogleShoppingPattern | String | Google shopping product pattern. |
GoogleShoppingItemGroupId | String | Google shopping product group ID. |
GoogleShoppingAdwordsGrouping | String | Google shopping product adwords group. |
GoogleShoppingAdwordsLabels | String | Google shopping product adwords label. |
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
CategoryCode | String | Products in exactly matched categories are displayed as search results. |
Returns data related to option selections.
The Cloud will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
SELECT * FROM ProductSelectOptions WHERE BrandCode = 'CD12345'
Name | Type | Description |
BrandCode [KEY] | String | System product code. |
OptionId [KEY] | String | Option id. [Option 1 node option ID]_[Option 2 node option ID]. |
OptionUbrandCode | String | Option-specific code. |
OptionPrice | Integer | Option-specific price. |
OptionStock | Integer | Option stock quantity. |
OptionJanCode | String | Option JAN code. |
ストアドプロシージャはファンクションライクなインターフェースで、GMO MakeShop の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずCloud の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにGMO MakeShop から関連するレスポンスデータを返します。
Name | Description |
DeliveryStatusChange | Change the delivery status by specifying the order number. |
MemberAuthenticationConfirm | It verifies whether the combination of the specified user's member ID and password is correct and returns the result. |
OrderStatusChange | Cancel the order by specifying the order number.. |
ProductCategoryRegistrationOrModification | Uploads a file for category registration / modification. |
ProductMemberGroupPriceRegistrationOrModification | Uploads a file for price registration / modification by member group (contract of BtoB option is required). |
ProductOptionRegistrationOrModification | Uploads a file for option registration / modification. |
ProductRegistrationOrModification | Uploads a file for product registration / modification. |
Change the delivery status by specifying the order number.
Name | Type | Required | Description |
OrderNumber | String | True | Order ID. |
DeliveryId | Integer | True | If there is more than one delivery, specify the sequential number after 1 with half-width numerals.
デフォルト値は0です。 |
DeliveryStatus | String | True | Change the delivery status. 1: Delivery instruction completed 2: Preparation for delivery 3: Delivery completed 9: Return.
使用できる値は次のとおりです。1, 2, 3, 9 |
Carrier | String | False | Specify the shipping voucher with the shipping company code (refer to the next shipping company code). |
DeliveryNumber | String | False | Enter the delivery slip number. |
CancelReason | Integer | False | Enter the reason for cancellation. The input value is added to the memo field of the management screen. |
Name | Type | Description |
Status | String | Stored procedure execution status. |
It verifies whether the combination of the specified user's member ID and password is correct and returns the result.
Name | Type | Required | Description |
MemberId | String | True | Login ID of the shop member. If you allow login with e-mail address in shop settings, you can also specify the e-mail address. |
MemberPassword | String | True | Specify the shop member's password. |
Name | Type | Description |
Success | String | Stored procedure execution status. |
Cancel the order by specifying the order number..
Name | Type | Required | Description |
OrderNumber | String | True | Order Number. |
DeliveryId | Integer | False | If there is more than one delivery, specify the sequential number after 1 with half-width numerals.
デフォルト値は0です。 |
CancelReason | String | False | Enter the reason for cancellation. The input value is added to the memo field of the management screen. |
Name | Type | Description |
Status | String | Stored procedure execution status. |
Uploads a file for category registration / modification.
Name | Type | Required | Description |
FilePath | String | False | A zip file or a CSV file path. |
FileName | String | False | Name of the file to be uploaded only when content is given. For example: test.csv |
Name | Type | Description |
Response | String | Stored procedure execution status. |
Uploads a file for price registration / modification by member group (contract of BtoB option is required).
Name | Type | Required | Description |
FilePath | String | False | A zip file or a CSV file path. |
FileName | String | False | Name of the file to be uploaded only when content is given. For example: test.csv |
Name | Type | Description |
Response | String | Stored procedure execution status. |
Uploads a file for option registration / modification.
Name | Type | Required | Description |
FilePath | String | False | A zip file or a CSV file path. |
FileName | String | False | Name of the file to be uploaded only when content is given. For example: test.csv |
Name | Type | Description |
Response | String | Stored procedure execution status. |
Uploads a file for product registration / modification.
Name | Type | Required | Description |
FilePath | String | False | A zip file or a CSV file path. |
FileName | String | False | Name of the file to be uploaded only when content is given. For example: test.csv |
Name | Type | Description |
Response | String | Stored procedure execution status. |
このセクションで説明されているシステムテーブルをクエリして、スキーマ情報、データソース機能に関する情報、およびバッチ操作の統計にアクセスできます。
以下のテーブルは、GMO MakeShop のデータベースメタデータを返します。
以下のテーブルは、データソースへの接続方法およびクエリ方法についての情報を返します。
次のテーブルは、データ変更クエリのクエリ統計を返します。
利用可能なデータベースをリストします。
次のクエリは、接続文字列で決定されるすべてのデータベースを取得します。
SELECT * FROM sys_catalogs
Name | Type | Description |
CatalogName | String | データベース名。 |
利用可能なスキーマをリストします。
次のクエリは、すべての利用可能なスキーマを取得します。
SELECT * FROM sys_schemas
Name | Type | Description |
CatalogName | String | データベース名。 |
SchemaName | String | スキーマ名。 |
利用可能なテーブルをリストします。
次のクエリは、利用可能なテーブルおよびビューを取得します。
SELECT * FROM sys_tables
Name | Type | Description |
CatalogName | String | テーブルまたはビューを含むデータベース。 |
SchemaName | String | テーブルまたはビューを含むスキーマ。 |
TableName | String | テーブル名またはビュー名。 |
TableType | String | テーブルの種類(テーブルまたはビュー)。 |
Description | String | テーブルまたはビューの説明。 |
IsUpdateable | Boolean | テーブルが更新可能かどうか。 |
利用可能なテーブルおよびビューのカラムについて説明します。
次のクエリは、Members テーブルのカラムとデータ型を返します。
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Members'
Name | Type | Description |
CatalogName | String | テーブルまたはビューを含むデータベースの名前。 |
SchemaName | String | テーブルまたはビューを含むスキーマ。 |
TableName | String | カラムを含むテーブルまたはビューの名前。 |
ColumnName | String | カラム名。 |
DataTypeName | String | データ型の名前。 |
DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
Length | Int32 | カラムのストレージサイズ。 |
DisplaySize | Int32 | 指定されたカラムの通常の最大幅(文字数)。 |
NumericPrecision | Int32 | 数値データの最大桁数。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
NumericScale | Int32 | カラムのスケール(小数点以下の桁数)。 |
IsNullable | Boolean | カラムがNull を含められるかどうか。 |
Description | String | カラムの簡単な説明。 |
Ordinal | Int32 | カラムのシーケンスナンバー。 |
IsAutoIncrement | String | カラムに固定増分値が割り当てられるかどうか。 |
IsGeneratedColumn | String | 生成されたカラムであるかどうか。 |
IsHidden | Boolean | カラムが非表示かどうか。 |
IsArray | Boolean | カラムが配列かどうか。 |
IsReadOnly | Boolean | カラムが読み取り専用かどうか。 |
IsKey | Boolean | sys_tablecolumns から返されたフィールドがテーブルの主キーであるかどうか。 |
利用可能なストアドプロシージャをリストします。
次のクエリは、利用可能なストアドプロシージャを取得します。
SELECT * FROM sys_procedures
Name | Type | Description |
CatalogName | String | ストアドプロシージャを含むデータベース。 |
SchemaName | String | ストアドプロシージャを含むスキーマ。 |
ProcedureName | String | ストアドプロシージャの名前。 |
Description | String | ストアドプロシージャの説明。 |
ProcedureType | String | PROCEDURE やFUNCTION などのプロシージャのタイプ。 |
ストアドプロシージャパラメータについて説明します。
次のクエリは、DeliveryStatusChange ストアドプロシージャのすべての入力パラメータについての情報を返します。
SELECT * FROM sys_procedureparameters WHERE ProcedureName='DeliveryStatusChange' AND Direction=1 OR Direction=2
Name | Type | Description |
CatalogName | String | ストアドプロシージャを含むデータベースの名前。 |
SchemaName | String | ストアドプロシージャを含むスキーマの名前。 |
ProcedureName | String | パラメータを含むストアドプロシージャの名前。 |
ColumnName | String | ストアドプロシージャパラメータの名前。 |
Direction | Int32 | パラメータのタイプに対応する整数値:input (1)。input/output (2)、またはoutput(4)。input/output タイプパラメータは、入力パラメータと出力パラメータの両方になれます。 |
DataTypeName | String | データ型の名前。 |
DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
Length | Int32 | 文字データの場合は、許可される文字数。数値データの場合は、許可される桁数。 |
NumericPrecision | Int32 | 数値データの場合は最大精度。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
NumericScale | Int32 | 数値データの小数点以下の桁数。 |
IsNullable | Boolean | パラメータがNull を含められるかどうか。 |
IsRequired | Boolean | プロシージャの実行にパラメータが必要かどうか。 |
IsArray | Boolean | パラメータが配列かどうか。 |
Description | String | パラメータの説明。 |
Ordinal | Int32 | パラメータのインデックス。 |
主キーおよび外部キーについて説明します。
次のクエリは、Members テーブルの主キーを取得します。
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Members'
Name | Type | Description |
CatalogName | String | キーを含むデータベースの名前。 |
SchemaName | String | キーを含むスキーマの名前。 |
TableName | String | キーを含むテーブルの名前。 |
ColumnName | String | キーカラムの名前 |
IsKey | Boolean | カラムがTableName フィールドで参照されるテーブル内の主キーかどうか。 |
IsForeignKey | Boolean | カラムがTableName フィールドで参照される外部キーかどうか。 |
PrimaryKeyName | String | 主キーの名前。 |
ForeignKeyName | String | 外部キーの名前。 |
ReferencedCatalogName | String | 主キーを含むデータベース。 |
ReferencedSchemaName | String | 主キーを含むスキーマ。 |
ReferencedTableName | String | 主キーを含むテーブル。 |
ReferencedColumnName | String | 主キーのカラム名。 |
外部キーについて説明します。
次のクエリは、他のテーブルを参照するすべての外部キーを取得します。
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
名前 | タイプ | 説明 |
CatalogName | String | キーを含むデータベースの名前。 |
SchemaName | String | キーを含むスキーマの名前。 |
TableName | String | キーを含むテーブルの名前。 |
ColumnName | String | キーカラムの名前 |
PrimaryKeyName | String | 主キーの名前。 |
ForeignKeyName | String | 外部キーの名前。 |
ReferencedCatalogName | String | 主キーを含むデータベース。 |
ReferencedSchemaName | String | 主キーを含むスキーマ。 |
ReferencedTableName | String | 主キーを含むテーブル。 |
ReferencedColumnName | String | 主キーのカラム名。 |
ForeignKeyType | String | 外部キーがインポート(他のテーブルを指す)キーかエクスポート(他のテーブルから参照される)キーかを指定します。 |
主キーについて説明します。
次のクエリは、すべてのテーブルとビューから主キーを取得します。
SELECT * FROM sys_primarykeys
Name | Type | Description |
CatalogName | String | キーを含むデータベースの名前。 |
SchemaName | String | キーを含むスキーマの名前。 |
TableName | String | キーを含むテーブルの名前。 |
ColumnName | String | キーカラムの名前。 |
KeySeq | String | 主キーのシーケンス番号。 |
KeyName | String | 主キーの名前。 |
利用可能なインデックスについて説明します。インデックスをフィルタリングすることで、より高速なクエリ応答時間でセレクティブクエリを記述できます。
次のクエリは、主キーでないすべてのインデックスを取得します。
SELECT * FROM sys_indexes WHERE IsPrimary='false'
Name | Type | Description |
CatalogName | String | インデックスを含むデータベースの名前。 |
SchemaName | String | インデックスを含むスキーマの名前。 |
TableName | String | インデックスを含むテーブルの名前。 |
IndexName | String | インデックス名。 |
ColumnName | String | インデックスに関連付けられたカラムの名前。 |
IsUnique | Boolean | インデックスが固有の場合はTrue。そうでない場合はFalse。 |
IsPrimary | Boolean | インデックスが主キーの場合はTrue。そうでない場合はFalse。 |
Type | Int16 | インデックスタイプに対応する整数値:statistic (0)、clustered (1)、hashed (2)、またはother (3)。 |
SortOrder | String | 並べ替え順序:A が昇順、D が降順。 |
OrdinalPosition | Int16 | インデックスのカラムのシーケンスナンバー。 |
利用可能な接続プロパティと、接続文字列に設定されている接続プロパティに関する情報を返します。
このテーブルをクエリする際は、config 接続文字列を使用する必要があります。
jdbc:cdata:gmomakeshop:config:
この接続文字列を使用すると、有効な接続がなくてもこのテーブルをクエリできます。
次のクエリは、接続文字列に設定されている、あるいはデフォルト値で設定されているすべての接続プロパティを取得します。
SELECT * FROM sys_connection_props WHERE Value <> ''
Name | Type | Description |
Name | String | 接続プロパティ名。 |
ShortDescription | String | 簡単な説明。 |
Type | String | 接続プロパティのデータ型。 |
Default | String | 明示的に設定されていない場合のデフォルト値。 |
Values | String | 可能な値のカンマ区切りリスト。別な値が指定されていると、検証エラーがスローされます。 |
Value | String | 設定した値またはあらかじめ設定されたデフォルト。 |
Required | Boolean | プロパティが接続に必要かどうか。 |
Category | String | 接続プロパティのカテゴリ。 |
IsSessionProperty | String | プロパティが、現在の接続に関する情報を保存するために使用されるセッションプロパティかどうか。 |
Sensitivity | String | プロパティの機密度。これは、プロパティがロギングおよび認証フォームで難読化されているかどうかを通知します。 |
PropertyName | String | キャメルケースの短縮形の接続プロパティ名。 |
Ordinal | Int32 | パラメータのインデックス。 |
CatOrdinal | Int32 | パラメータカテゴリのインデックス。 |
Hierarchy | String | このプロパティと一緒に設定する必要がある、関連のある依存プロパティを表示します。 |
Visible | Boolean | プロパティが接続UI に表示されるかどうかを通知します。 |
ETC | String | プロパティに関するその他のさまざまな情報。 |
Cloud がデータソースにオフロードできるSELECT クエリ処理について説明します。
SQL 構文の詳細については、SQL 準拠 を参照してください。
以下はSQL 機能のサンプルデータセットです。 SELECT 機能のいくつかの側面がサポートされている場合には、カンマ区切りのリストで返されます。サポートされていない場合、カラムにはNO が入ります。
名前 | 説明 | 有効な値 |
AGGREGATE_FUNCTIONS | サポートされている集計関数。 | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
COUNT | COUNT 関数がサポートされているかどうか。 | YES, NO |
IDENTIFIER_QUOTE_OPEN_CHAR | 識別子をエスケープするための開始文字。 | [ |
IDENTIFIER_QUOTE_CLOSE_CHAR | 識別子をエスケープするための終了文字。 | ] |
SUPPORTED_OPERATORS | サポートされているSQL 演算子。 | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
GROUP_BY | GROUP BY がサポートされているかどうか。サポートされている場合、どのレベルでサポートされているか。 | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
OJ_CAPABILITIES | サポートされている外部結合の種類。 | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
OUTER_JOINS | 外部結合がサポートされているかどうか。 | YES, NO |
SUBQUERIES | サブクエリがサポートされているかどうか。サポートされていれば、どのレベルでサポートされているか。 | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
STRING_FUNCTIONS | サポートされている文字列関数。 | LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE |
NUMERIC_FUNCTIONS | サポートされている数値関数。 | ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE |
TIMEDATE_FUNCTIONS | サポートされている日付および時刻関数。 | NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT |
REPLICATION_SKIP_TABLES | レプリケーション中にスキップされたテーブルを示します。 | |
REPLICATION_TIMECHECK_COLUMNS | レプリケーション中に更新判断のカラムとして使用するかどうかを、(指定された順に)チェックするカラムのリストを含む文字列の配列。 | |
IDENTIFIER_PATTERN | 識別子としてどの文字列が有効かを示す文字列値。 | |
SUPPORT_TRANSACTION | プロバイダーが、コミットやロールバックなどのトランザクションをサポートしているかどうかを示します。 | YES, NO |
DIALECT | 使用するSQL ダイアレクトを示します。 | |
KEY_PROPERTIES | Uniform データベースを特定するプロパティを示します。 | |
SUPPORTS_MULTIPLE_SCHEMAS | プロバイダー用に複数のスキームが存在するかどうかを示します。 | YES, NO |
SUPPORTS_MULTIPLE_CATALOGS | プロバイダー用に複数のカタログが存在するかどうかを示します。 | YES, NO |
DATASYNCVERSION | このドライバーにアクセスするために必要な、CData Sync のバージョン。 | Standard, Starter, Professional, Enterprise |
DATASYNCCATEGORY | このドライバーのCData Sync カテゴリ。 | Source, Destination, Cloud Destination |
SUPPORTSENHANCEDSQL | API で提供されている以上の、追加SQL 機能がサポートされているかどうか。 | TRUE, FALSE |
SUPPORTS_BATCH_OPERATIONS | バッチ操作がサポートされているかどうか。 | YES, NO |
SQL_CAP | このドライバーでサポートされているすべてのSQL 機能。 | SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX |
PREFERRED_CACHE_OPTIONS | 使用したいcacheOptions を指定する文字列値。 | |
ENABLE_EF_ADVANCED_QUERY | ドライバーがEntity Framework の高度なクエリをサポートしているかどうかを示します。サポートしていなければ、クエリはクライアントサイドで処理されます。 | YES, NO |
PSEUDO_COLUMNS | 利用可能な疑似カラムを示す文字列の配列。 | |
MERGE_ALWAYS | 値がtrue であれば、CData Sync 内でMerge Model が強制的に実行されます。 | TRUE, FALSE |
REPLICATION_MIN_DATE_QUERY | レプリケート開始日時を返すSELECT クエリ。 | |
REPLICATION_MIN_FUNCTION | サーバーサイドでmin を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
REPLICATION_START_DATE | レプリケート開始日を、プロバイダーが指定できるようになります。 | |
REPLICATION_MAX_DATE_QUERY | レプリケート終了日時を返すSELECT クエリ。 | |
REPLICATION_MAX_FUNCTION | サーバーサイドでmax を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
IGNORE_INTERVALS_ON_INITIAL_REPLICATE | 初回のレプリケートで、レプリケートをチャンクに分割しないテーブルのリスト。 | |
CHECKCACHE_USE_PARENTID | CheckCache 構文を親キーカラムに対して実行するかどうかを示します。 | TRUE, FALSE |
CREATE_SCHEMA_PROCEDURES | スキーマファイルの生成に使用できる、ストアドプロシージャを示します。 |
次のクエリは、WHERE 句で使用できる演算子を取得します。
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
WHERE 句では、個々のテーブルの制限や要件が異なる場合がありますので注意してください。詳しくは、データモデル セクションを参照してください。
Name | Type | Description |
NAME | String | SQL 構文のコンポーネント、またはサーバー上で処理できる機能。 |
VALUE | String | サポートされるSQL またはSQL 構文の詳細。 |
試行された変更に関する情報を返します。
次のクエリは、バッチ処理で変更された行のId を取得します。
SELECT * FROM sys_identity
Name | Type | Description |
Id | String | データ変更処理から返された、データベース生成Id。 |
Batch | String | バッチの識別子。1 は単一処理。 |
Operation | String | バッチ内の処理の結果:INSERTED、UPDATED、またはDELETED。 |
Message | String | SUCCESS、またはバッチ内の更新が失敗した場合のエラーメッセージ。 |
プロパティ | 説明 |
ShopId | Store account ID of your GMOMakeShop store. |
OrdersAccessCode | Access code you get from your GMOMakeShop store account to access the Orders API. |
ProductsAccessCode | Access code you get from your GMOMakeShop store account to access the Products API. |
Password | Password of the currently authenticated user. |
MembersAccessCode | Access code you get from your GMOMakeShop store account to access the Members API. |
MemberAuthenticationCode | Authentication code you get from your GMOMakeShop store account to access the MemberAuthenticationConfirm stored procedure. |
プロパティ | 説明 |
SSLServerCert | TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。 |
プロパティ | 説明 |
Verbosity | ログファイルの記述をどの程度の詳細さで記載するかを決定するverbosity レベル。 |
プロパティ | 説明 |
BrowsableSchemas | このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
プロパティ | 説明 |
MaxRows | クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。 |
PseudoColumns | このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。 |
Timeout | タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
プロパティ | 説明 |
ShopId | Store account ID of your GMOMakeShop store. |
OrdersAccessCode | Access code you get from your GMOMakeShop store account to access the Orders API. |
ProductsAccessCode | Access code you get from your GMOMakeShop store account to access the Products API. |
Password | Password of the currently authenticated user. |
MembersAccessCode | Access code you get from your GMOMakeShop store account to access the Members API. |
MemberAuthenticationCode | Authentication code you get from your GMOMakeShop store account to access the MemberAuthenticationConfirm stored procedure. |
Store account ID of your GMOMakeShop store.
string
""
Store account ID of your GMOMakeShop store.
Access code you get from your GMOMakeShop store account to access the Orders API.
string
""
Access code you get from your GMOMakeShop store account to access the Orders API.
Access code you get from your GMOMakeShop store account to access the Products API.
string
""
Access code you get from your GMOMakeShop store account to access the Products API.
Password of the currently authenticated user.
string
""
Password of the currently authenticated user. This property is required to execute product stored procedures.
Access code you get from your GMOMakeShop store account to access the Members API.
string
""
Access code you get from your GMOMakeShop store account to access the Members API.
Authentication code you get from your GMOMakeShop store account to access the MemberAuthenticationConfirm stored procedure.
string
""
Authentication code you get from your GMOMakeShop store account to access the MemberAuthenticationConfirm stored procedure.
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
プロパティ | 説明 |
SSLServerCert | TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。 |
TLS/SSL を使用して接続するときに、サーバーが受け入れ可能な証明書。
string
""
TLS/SSL 接続を使用する場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。コンピュータによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
説明 | 例 |
フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
MD5 Thumbprint (hex 値はスペースおよびコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
SHA1 Thumbprint (hex 値はスペースおよびコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。
すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
プロパティ | 説明 |
Verbosity | ログファイルの記述をどの程度の詳細さで記載するかを決定するverbosity レベル。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
プロパティ | 説明 |
BrowsableSchemas | このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
このプロパティは、使用可能なスキーマのサブセットにレポートされるスキーマを制限します。例えば、BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
string
""
スキーマをデータベースからリストすると、負荷がかかる可能性があります。接続文字列でスキーマのリストを提供すると、 パフォーマンスが向上します。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
プロパティ | 説明 |
MaxRows | クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。 |
PseudoColumns | このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。 |
Timeout | タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。 |
クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。
int
-1
クエリで集計またはGROUP BY を使用しない場合に返される行数を制限します。これはLIMIT 句よりも優先されます。
このプロパティは、テーブルのカラムとして疑似カラムが含まれているかどうかを示します。
string
""
Entity Framework ではテーブルカラムでない疑似カラムに値を設定できないため、この設定はEntity Framework で特に便利です。この接続設定の値は、"Table1=Column1, Table1=Column2, Table2=Column3" の形式です。"*=*" のように"*" 文字を使用して、すべてのテーブルとすべてのカラムを含めることができます。
タイムアウトエラーがスローされ、処理をキャンセルするまでの秒数。
int
60
Timeout が0に設定されている場合は、操作がタイムアウトしません。処理が正常に完了するか、エラー状態になるまで実行されます。
Timeout の有効期限が切れても処理が完了していない場合は、Cloud は例外をスローします。