Repository for server-side data retrieve
Classes
Methods
fabric(entityName, connectionopt) → ServerRepository
inner
Create new instance of ServerRepository
const Repository = require('@unitybase.base/ServerRepository').fabric;
var req = Repository('uba_user').attrs('*').ubql();
Arguments:
-
entityName (String)  name of Entity for which we create repository
-
[connection=null] (UBConnection)  The remote server connection. For internal server thread can be empty
Create new instance of ServerRepository
const Repository = require('@unitybase.base/ServerRepository').fabric;
var req = Repository('uba_user').attrs('*').ubql();
entityName (String)  name of Entity for which we create repository
[connection=null] (UBConnection)  The remote server connection. For internal server thread can be empty