mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-27 07:26:33 +01:00
15 lines
446 B
Text
15 lines
446 B
Text
|
|
||
|
function FirebaseFirestore_operationFromSymbol(opStr)
|
||
|
{
|
||
|
switch (opStr)
|
||
|
{
|
||
|
case ">=": return Firestore_Query_greater_than_or_equal;
|
||
|
case ">": return Firestore_Query_greater_than;
|
||
|
case "<=": return Firestore_Query_less_than_or_equal;
|
||
|
case "<": return Firestore_Query_less_than;
|
||
|
case "==": return Firestore_Query_equal;
|
||
|
case "!=": return Firestore_Query_not_equal;
|
||
|
default: throw "[ERROR] Firestore: invalid query operation.";
|
||
|
}
|
||
|
}
|