import SequelizeRecordProvider from 'devapt-core-common/js/datas/providers/sequelize_record_provider.js'
SequelizeRecordProvider
Extends:
Sequelize record provider class.
Constructor Summary
Public Constructor | ||
public |
Create a record provider instance |
Member Summary
Public Members | ||
public |
fields_list: array Sequelize record provider fields array. |
|
public |
Sequelize record provider model instance. |
Method Summary
Public Methods | ||
public |
build_query(arg_query: object | undefined): Promise Build a query to fetch datas. |
|
public |
find_all_records(arg_query: object | undefined): Promise Provide all datas records |
|
public |
find_records_by_id(arg_id: string | number): Promise Find a record by its id. |
|
public |
find_records_by_values(arg_values_map: object, arg_query: object | undefined): Promise Find a record with a set of values. |
Inherited Summary
From class RecordProvider | ||
public |
Record provider settings. |
|
public |
build_query(arg_query: object | undefined): Promise Build a query to fetch datas. |
|
public abstract |
find_all_records(arg_query: object | undefined): Promise Provide all datas records |
|
public abstract |
Find a record by its id. |
|
public abstract |
find_records_by_values(arg_values_map: object, arg_query: object | undefined): Promise Find a record with a set of values. |
Public Constructors
Public Members
Public Methods
public build_query(arg_query: object | undefined): Promise source
Build a query to fetch datas.
Override:
RecordProvider#build_querypublic find_all_records(arg_query: object | undefined): Promise source
Provide all datas records
Override:
RecordProvider#find_all_recordspublic find_records_by_id(arg_id: string | number): Promise source
Find a record by its id.