MCPcopy Create free account
hub / github.com/apache/cassandra-nodejs-driver / _checkSchemaAgreement

Method _checkSchemaAgreement

lib/metadata/index.js:827–838  ·  view source on GitHub ↗

* Async-only version of check schema agreement. * @private

()

Source from the content-addressed store, hash-verified

825 * @private
826 */
827 async _checkSchemaAgreement() {
828 const connection = this.controlConnection.connection;
829 if (!connection) {
830 return false;
831 }
832 try {
833 return await this.compareSchemaVersions(connection);
834 }
835 catch (err) {
836 return false;
837 }
838 }
839
840 /**
841 * Uses the metadata to fill the user provided parameter hints

Callers 1

checkSchemaAgreementMethod · 0.95

Calls 1

compareSchemaVersionsMethod · 0.95

Tested by

no test coverage detected