2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00
books/frappe/core/dbHandler.ts

21 lines
427 B
TypeScript
Raw Normal View History

2022-03-22 09:28:36 +00:00
import { Frappe } from 'frappe/core/frappe';
type SingleValue = { fieldname: string; parent: string; value: unknown };
export class DbHandler {
frappe: Frappe;
constructor(frappe: Frappe) {
this.frappe = frappe;
}
init() {}
close() {}
exists(doctype: string, name: string): boolean {
return false;
}
getSingleValues(...fieldnames: Omit<SingleValue, 'value'>[]): SingleValue[] {
return [];
}
}