static_postgres_orm library Null safety

Support for doing something awesome.

More dartdocs go here.

Classes

BooleanField
BooleanField_PG
BooleanField_WithDefault
BooleanField_WithDefault_PG
BooleanFilter
ColumnOrdenator
DatasetEvent
DateField
DateField_PG
DateField_WithDefault
DateField_WithDefault_PG
DateFilter
DateTimeField
DateTimeField_PG
DateTimeField_WithDefault
DateTimeField_WithDefault_PG
DateTimeFilter
ErrorSqlResult
Event
Event_executeCommand
Event_openQuery
ExecuteSuccesSqlResult
GenericDataFields
GenericField
GenericOrderBy
IntegerField
IntegerField_PG
IntegerField_WithDefault
IntegerField_WithDefault_PG
IntegerFilter
NewRecordEvent
NumericField
NumericField_PG
NumericField_WithDefault
NumericField_WithDefault_PG
NumericFilter
ORM
OrmFilter
OrmSelectableColumns
OrmSelectWhere
Postgres_SqlConnection
PostgressORM
SelectSuccesSqlResult
SerialField
SerialField_PG
SqlConnection
SqlResult
StringField
StringField_PG
StringField_WithDefault
StringField_WithDefault_PG
StringFilter
TimeField
TimeField_PG
TimeField_WithDefault
TimeField_WithDefault_PG
TimeFilter
UuIdField
UuIdField_PG

Mixins

NullableFilter

Extensions

ProtoSelect

Functions

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
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
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>>

Enums

DataFieldStatus
OrdType