drizzle-team/drizzle-orm · error · Error

Not implemented

Error message

Not implemented

What it means

Error "Not implemented" thrown in drizzle-team/drizzle-orm.

Source

Thrown at drizzle-orm/src/sqlite-core/session.ts:170

		} catch (e) {
			throw new DrizzleQueryError(queryString, params, e as Error);
		}
	}

	getQuery(): Query {
		return this.query;
	}

	abstract run(placeholderValues?: Record<string, unknown>): Result<T['type'], T['run']>;

	mapRunResult(result: unknown, _isFromBatch?: boolean): unknown {
		return result;
	}

	abstract all(placeholderValues?: Record<string, unknown>): Result<T['type'], T['all']>;

	mapAllResult(_result: unknown, _isFromBatch?: boolean): unknown {
		throw new Error('Not implemented');
	}

	abstract get(placeholderValues?: Record<string, unknown>): Result<T['type'], T['get']>;

	mapGetResult(_result: unknown, _isFromBatch?: boolean): unknown {
		throw new Error('Not implemented');
	}

	abstract values(placeholderValues?: Record<string, unknown>): Result<T['type'], T['values']>;

	execute(placeholderValues?: Record<string, unknown>): ExecuteResult<T['type'], T['execute']> {
		if (this.mode === 'async') {
			return this[this.executeMethod](placeholderValues) as ExecuteResult<T['type'], T['execute']>;
		}
		return new ExecuteResultSync(() => this[this.executeMethod](placeholderValues));
	}

	mapResult(response: unknown, isFromBatch?: boolean) {

View on GitHub (pinned to b7862528fd)

Solutions

  1. This code path is not implemented by the driver; avoid calling the method (e.g. transaction API) on this session type, or use a driver that supports it.

When it happens

Trigger: Calling a session method on the base sqlite-core session that the concrete driver does not implement.

Common situations: Using a driver lacking support for the operation (e.g. certain batch/transaction APIs); custom driver extending the base session.


AI-assisted analysis of drizzle-team/drizzle-orm@b7862528fd (2026-08-03). Data as JSON: /data/errors/5485ff7ce5885a85.json. Report an issue: GitHub.