Comparing version 0.0.51 to 0.0.52
@@ -60,2 +60,5 @@ "use strict"; | ||
class Table extends autoImplement() { | ||
findAttribute(name) { | ||
return this.attributes.filter(_ => _.attributeName === name)[0]; | ||
} | ||
findField(name) { | ||
@@ -62,0 +65,0 @@ return this.attributes.filter(_ => _.fieldName === name)[0]; |
@@ -56,2 +56,5 @@ export const actions = Symbol("actions"); | ||
oid; | ||
findAttribute(name) { | ||
return this.attributes.filter(_ => _.attributeName === name)[0]; | ||
} | ||
findField(name) { | ||
@@ -58,0 +61,0 @@ return this.attributes.filter(_ => _.fieldName === name)[0]; |
@@ -85,2 +85,3 @@ export declare const actions: unique symbol; | ||
oid?: number; | ||
findAttribute(name: string): Attribute<unknown, unknown>; | ||
findField(name: string): Attribute<unknown, unknown>; | ||
@@ -87,0 +88,0 @@ } |
@@ -61,3 +61,3 @@ { | ||
"types": "./dist/types/index.d.ts", | ||
"version": "0.0.51" | ||
"version": "0.0.52" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92735
1691