You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally a connection object should add some layer of abstraction around the parsed connection string. This would result in more than a simple map of key value pairs being returned and instead the object being queried and parsed in a more helpful way.
constconnStr="Data Source=tcp:mydomain.com,1433";constconnectionObj=parseSqlConnectionString(connStr);returnnewProxy(connectionObj,{get: (target,prop,receiver)=>{// special handling for some cases like alias props// special handling for computed props (eg: host, proto, port)// return case insensitive look up}});
The text was updated successfully, but these errors were encountered:
see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy
Ideally a connection object should add some layer of abstraction around the parsed connection string. This would result in more than a simple map of key value pairs being returned and instead the object being queried and parsed in a more helpful way.
eg:
This could be implemented as
The text was updated successfully, but these errors were encountered: