( schema: RelationalSchemaConfig<TablesRelationalConfig> | undefined, )
| 27 | } |
| 28 | |
| 29 | createSession( |
| 30 | schema: RelationalSchemaConfig<TablesRelationalConfig> | undefined, |
| 31 | ): XataHttpSession<Record<string, unknown>, TablesRelationalConfig> { |
| 32 | return new XataHttpSession(this.client, this.dialect, schema, { |
| 33 | logger: this.options.logger, |
| 34 | cache: this.options.cache, |
| 35 | }); |
| 36 | } |
| 37 | |
| 38 | initMappers() { |
| 39 | // TODO: Add custom type parsers |