You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -185,7 +187,11 @@ The following built in column filters are available. All filters have a default
185
187
* AllUniqueStringValuesFilter - A filter for string columns, with the values of all unique values in the column
186
188
* StaticValuesFilter - A filter for string columns, with the values of a static list of values. This is similar to AllUniqueStringValuesFilter, but instead of getting the list of possible values from the database, you can provide a static list of values.
187
189
* ForeignKeyFilter - A filter for foreign key columns, with the values of all unique values in the foreign key column. To make this filter readable, you need to provide the field name from the foreign model that you want to display as the name of the filter.
188
-
* OperationColumnFilter - A flexible filter that automatically detects column types and provides appropriate operations. For string columns, it offers Contains, Equals, StartsWith, and EndsWith operations. For numeric columns (integer, float), it offers Equals, GreaterThan, and LessThan operations. For UUID columns (SQLAlchemy 2.0+), it offers Contains, Equals, and StartsWith operations.
190
+
* OperationColumnFilter - A flexible filter that automatically detects column types and provides appropriate operations.
191
+
- For string columns, it offers Contains, Equals, StartsWith, and EndsWith operations.
192
+
- For numeric columns (integer, float), it offers Equals, GreaterThan, and LessThan operations.
193
+
- For date columns (Date, DateTime), it offers Equals, GreaterThan, and LessThan operations.
194
+
- For UUID columns (SQLAlchemy 2.0+), it offers Contains, Equals, and StartsWith operations.
189
195
190
196
Here is an example of how to use BooleanFilter, AllUniqueStringValuesFilter, ForeignKeyFilter, and OperationColumnFilter:
Copy file name to clipboardExpand all lines: docs/working_with_files.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Working with Files and Images
2
2
3
-
You can use [fastapi-storages](https://github.com/aminalaee/fastapi-storages) package
3
+
You can use [fastapi-storages](https://github.com/smithyhq/fastapi-storages) package
4
4
to make file management easy in `SQLAdmin`.
5
5
6
6
Right now `fastapi-storages` provides two storage backends:
@@ -57,4 +57,4 @@ and displayed in the admin dashboard.
57
57
58
58
You can replace `FileSystemStorage` with `S3Storage` to upload to S3 or any S3-compatible API.
59
59
60
-
For complete features and API reference of the `fastapi-storages` you can visit the docs at [https://aminalaee.github.io/fastapi-storages](https://aminalaee.github.io/fastapi-storages).
60
+
For complete features and API reference of the `fastapi-storages` you can visit the docs at [https://smithyhq.github.io/fastapi-storages](https://smithyhq.github.io/fastapi-storages).
0 commit comments