跳到主要内容

RestOperationTemplate

Defined in: packages/rxdb-adapter-http/src/rest.ts:36

单个操作的路径模板与方法覆盖。

Properties​

method?​

optional method?: HttpMethod;

Defined in: packages/rxdb-adapter-http/src/rest.ts:40

缺省取该操作的默认方法,见 createRestHandlers


path​

path: string;

Defined in: packages/rxdb-adapter-http/src/rest.ts:38

相对 baseUrl 的路径模板(也可给绝对 URL),占位符写作 :entity / :id