[sequelize] Change ReplicationOptions.read type to array (#25207)

This commit is contained in:
Bruno Lemos
2018-04-24 16:11:37 -07:00
committed by Wesley Wigham
parent a39131b390
commit 06dca56209
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -5320,7 +5320,7 @@ declare namespace sequelize {
username?: string;
password?: string;
database?: string;
};
}[];
write?: {
host?: string;
+2 -2
View File
@@ -1243,11 +1243,11 @@ new Sequelize( 'wat', 'trololo', 'wow', { port : 99999 } );
new Sequelize( 'localhost', 'wtf', 'lol', { port : 99999 } );
new Sequelize( 'sequelize', null, null, {
replication : {
read : {
read : [{
host : 'localhost',
username : 'omg',
password : 'lol'
}
}]
}
} );
new Sequelize( {
+1 -1
View File
@@ -5067,7 +5067,7 @@ declare namespace sequelize {
username?: string;
password?: string;
database?: string;
};
}[];
write?: {
host?: string;
+2 -2
View File
@@ -1165,11 +1165,11 @@ new Sequelize( 'wat', 'trololo', 'wow', { port : 99999 } );
new Sequelize( 'localhost', 'wtf', 'lol', { port : 99999 } );
new Sequelize( 'sequelize', null, null, {
replication : {
read : {
read : [{
host : 'localhost',
username : 'omg',
password : 'lol'
}
}]
}
} );
new Sequelize( {