mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Configuration
* Added flags to customize the host and port * Start up just one server rather than a server for HTTP and HTTPS. HTTPS server will only start if a cert and key are found
This commit is contained in:
@@ -131,9 +131,9 @@ func getCriterionModifierBinding(criterionModifier CriterionModifier, value inte
|
||||
case "NOT_NULL":
|
||||
return "IS NOT NULL", 0
|
||||
case "INCLUDES":
|
||||
return "IN "+getInBinding(length), length // TODO?
|
||||
return "IN " + getInBinding(length), length // TODO?
|
||||
case "EXCLUDES":
|
||||
return "NOT IN "+getInBinding(length), length // TODO?
|
||||
return "NOT IN " + getInBinding(length), length // TODO?
|
||||
default:
|
||||
logger.Errorf("todo")
|
||||
return "= ?", 1 // TODO
|
||||
@@ -144,7 +144,7 @@ func getCriterionModifierBinding(criterionModifier CriterionModifier, value inte
|
||||
|
||||
func getIntCriterionWhereClause(column string, input IntCriterionInput) (string, int) {
|
||||
binding, count := getCriterionModifierBinding(input.Modifier, input.Value)
|
||||
return column+" "+binding, count
|
||||
return column + " " + binding, count
|
||||
}
|
||||
|
||||
func runIdsQuery(query string, args []interface{}) ([]int, error) {
|
||||
|
||||
Reference in New Issue
Block a user