upper library

Back-end framework for Dart. Make a automated GRPC API For Relational Databases.

Functions

format(String format, DateTime value) String
getAssignedFields(List<GenericField> fields) List<GenericField>
getBackup(GenericDataFields origin) GenericDataFields?
getColumnsToSelect(List<GenericField> fields) String
getDeleteRecord(ORM orm, List<GenericField> fields) Future<Either<ErrorSqlResult, ExecuteSuccesSqlResult>>
getDeleteSQL(List<GenericField> assignedFields, String fullTableName) → Either<String, String>
getFieldClass(Dataset ds, ColumnDescription field) DataField
getFieldName(GenericField field) String
getFieldsWith_InternalProblems(List<GenericField> fields) List<GenericField>
getFieldType(ColumnDescription field) Type
getFilter(List<OrmFilter> filters, [List<GenericFilterOperator>? operators]) String
getInsertSQL(List<GenericField> fields, String fullTableName) → Either<String, String>
getMaterialize(ORM orm, List<GenericField> fields) Future<Either<ErrorSqlResult, SelectSuccesSqlResult>>
getMaterializeSQL(List<GenericField> pkFields, String fullTableName, {String columns = '*'}) → Either<String, String>
getMessageForrequiredFields(List<GenericField> fields) List<String>
getMessageFromProblemFields(List<GenericField> fields) List<String>
getNotAssignedFields(List<GenericField> fields) List<GenericField>
getNotNullableFields(List<GenericField> fields) List<GenericField>
getRecords(ORM orm) List<GenericDataFields>
getSQL(Either<String, String> sql) → Either<ErrorSqlResult, String>
getUpdateSQL(List<GenericField> assignedFields, String tableName) → Either<String, String>
loadOperatorMap(List<GenericFilterOperator> operators, Map<String, dynamic> map) → void
mapToJson(Map<String, dynamic> object) String
newConnection(PostgreSQLConnection connection) Postgres_SqlConnection
newPGConnection(PostgreSQLConnection connection) → PostgreSQLConnection
pgExceptionToErrorSqlResult(String className, String methodName, String sqlCommand, PostgreSQLException e) ErrorSqlResult
pgQueryToExecuteSuccesSqlResult(String className, String methodName, String sqlCommand, PostgreSQLResult pgQuery) ExecuteSuccesSqlResult
pgQueryToSelectSuccesSqlResult(String className, String methodName, String sqlCommand, PostgreSQLResult pgQuery) SelectSuccesSqlResult
pgSqlToDataset(PostgreSQLResult pg) Dataset
proto3JsonToJsonMap(Object? proto3Json) → Either<String, Map<String, dynamic>>
setBackup(GenericDataFields origin, GenericDataFields backup) → void
setORMConnection(ORM orm, SqlConnection connection) → void
StrToDateTime(String format, String value) → Option<DateTime>
verifyAllFields(List<GenericField> fields) → Either<List<String>, List<GenericField>>
verifyAllnotNullableFields(List<GenericField> fields) → Either<List<String>, List<GenericField>>
verifyAllPKFields(List<GenericField> pkFields) → Either<List<String>, List<GenericField>>
verifyFieldsInternal(List<GenericField> assignedFields) → Either<List<String>, List<GenericField>>
verifyPKFields(List<GenericField> fields) → Either<List<String>, List<GenericField>>