update
This commit is contained in:
parent
47a2d34933
commit
4586256032
9 changed files with 246 additions and 154 deletions
|
|
@ -9,6 +9,13 @@ class RefMedicines {
|
|||
return data.toList();
|
||||
}
|
||||
|
||||
Future<List> getList2() async {
|
||||
final data = await _supabase
|
||||
.from('ref_medicines')
|
||||
.select('''medicine_name, ref_manufactorers(manufactorer_name)''').order('medicine_name', ascending: true);
|
||||
return data.toList();
|
||||
}
|
||||
|
||||
Future<String> getUUID(String name) async {
|
||||
final data = await _supabase.from('ref_medicines').select('ref_medicines_uuid').eq('medicine_name', name);
|
||||
return data.first['ref_medicines_uuid'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue