UNPKG

weaviate-client

Version:
20 lines (19 loc) 569 B
import { Sorting } from './classes.js'; const sort = () => { return { byProperty(property, ascending = true) { return new Sorting().byProperty(property, ascending); }, byId(ascending = true) { return new Sorting().byId(ascending); }, byCreationTime(ascending = true) { return new Sorting().byCreationTime(ascending); }, byUpdateTime(ascending = true) { return new Sorting().byUpdateTime(ascending); }, }; }; export default sort; export { Sorting };