Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for hx (0.17 sec)

  1. demo/kitchen-sink/docs/Haxe.hx

    nightwing <******@****.***> 1392233522 +0400
    Others
    - Registered: 2022-09-27 12:40
    - Last Modified: 2014-02-12 19:32
    - 447 bytes
    - Viewed (0)
  2. enterprise/backend/src/metabase_enterprise/audit_app/pages/tables.clj

                                              :order-by [[:%count.* asc-or-desc]]
                                              :limit    10}]]
                   :select [:tx.table_id
                            [(hx/concat :db.name (hx/literal " ") :t.schema (hx/literal " ") :t.name) :table_name]
                            :tx.executions]
                   :from [[:table_executions :tx]]
                   :join [[:metabase_table :t]     [:= :tx.table_id :t.id]
    Others
    - Registered: 2022-09-30 12:00
    - Last Modified: 2021-09-20 17:37
    - 4.4K bytes
    - Viewed (0)
  3. enterprise/backend/src/metabase_enterprise/audit_app/pages/common/dashboards.clj

      (:require [honeysql.core :as hsql]
                [honeysql.helpers :as hh]
                [metabase-enterprise.audit-app.pages.common :as common]
                [metabase.util.honeysql-extensions :as hx]
                [metabase.util.urls :as urls]))
    
    (defn table
      "Dashboard table!"
      [query-string & [where-clause]]
    Others
    - Registered: 2022-09-30 12:00
    - Last Modified: 2022-04-19 22:00
    - 4.6K bytes
    - Viewed (0)
  4. enterprise/backend/src/metabase_enterprise/audit_app/pages/dashboards.clj

                [metabase-enterprise.audit-app.pages.common :as common]
                [metabase-enterprise.audit-app.pages.common.dashboards :as dashboards]
                [metabase.util.honeysql-extensions :as hx]
                [schema.core :as s]))
    
    ;; Two-series timeseries that includes total number of Dashboard views and saves broken out by a `datetime-unit`.
    (s/defmethod audit.i/internal-query ::views-and-saves-by-time
    Others
    - Registered: 2022-09-30 12:00
    - Last Modified: 2021-09-20 17:37
    - 8.7K bytes
    - Viewed (0)
  5. enterprise/backend/src/metabase_enterprise/audit_app/pages/common.clj

        (hsql/call :case
          [:and [:= nil first-name] [:= nil last-name]]
          email
          [:or [:= nil first-name] [:= nil last-name]]
          (hx/concat (hsql/call :coalesce first-name "") (hsql/call :coalesce last-name ""))
          :else
          (hx/concat (hsql/call :coalesce first-name "") (hx/literal " ") (hsql/call :coalesce last-name "")))))
    
    (def datetime-unit-str->base-type
    Others
    - Registered: 2022-09-30 12:00
    - Last Modified: 2022-06-20 18:42
    - 12.1K bytes
    - Viewed (0)
  6. enterprise/backend/src/metabase_enterprise/audit_app/pages/common/pulses.clj

                   :channel.schedule_type
                   :channel.schedule_hour
                   :channel.schedule_day
                   :channel.schedule_frame
                   [:creator.id :creator_id]
                   [(hx/concat :creator.first_name (hx/literal " ") :creator.last_name) :creator_name]
                   [:channel.created_at :created_at]
                   [:pulse.parameters :pulse_parameters]]
       :from      [[:pulse_channel :channel]]
    Others
    - Registered: 2022-09-30 12:00
    - Last Modified: 2022-05-02 12:59
    - 6.2K bytes
    - Viewed (0)
  7. enterprise/backend/src/metabase_enterprise/audit_app/pages/schemas.clj

                                                    [:not= :card.database_id nil]
                                                    [:not= :card.table_id nil]]}]]
                   :select   [[(hx/concat :db_name (hx/literal " ") :db_schema) :schema]
                              [:%count.* :executions]]
                   :from     [:counts]
                   :group-by [:db_name :db_schema]
                   :order-by [[:%count.* :desc]]
    Others
    - Registered: 2022-09-30 12:00
    - Last Modified: 2021-09-20 17:37
    - 7.9K bytes
    - Viewed (0)
  8. enterprise/backend/src/metabase_enterprise/audit_app/pages/user_detail.clj

                                              [(hsql/call :case
                                                 [:= :u.is_superuser true]
                                                 (hx/literal "Admin")
                                                 :else
                                                 (hx/literal "User"))
                                               :role]
                                              :id
                                              :date_joined
    Others
    - Registered: 2022-09-30 12:00
    - Last Modified: 2021-09-22 11:25
    - 17.5K bytes
    - Viewed (0)
  9. enterprise/backend/src/metabase_enterprise/audit_app/pages/common/cards.clj

    (ns metabase-enterprise.audit-app.pages.common.cards
      (:require [metabase-enterprise.audit-app.pages.common :as common]
                [metabase.db.connection :as mdb.connection]
                [metabase.util.honeysql-extensions :as hx]))
    
    (def avg-exec-time
      "HoneySQL for a CTE to include the average execution time for each Card."
      [:avg_exec_time {:select   [:card_id
                                  [:%avg.running_time :avg_running_time_ms]]
    Others
    - Registered: 2022-09-30 12:00
    - Last Modified: 2021-10-18 19:23
    - 3.5K bytes
    - Viewed (0)
  10. enterprise/backend/test/metabase_enterprise/audit_app/pages/common_test.clj

    (deftest add-45-days-clause-test
      (testing "add 45 days clause"
        (is (=
              {:where
               [:>
                (hx/with-type-info
                  (hsql/call :cast :bob.dobbs #honeysql.types.SqlRaw{:s "date"})
                  {::hx/database-type "date"})
                nil]}
              (assoc-in (#'common/add-45-days-clause {} :bob.dobbs) [:where 2] nil)))))
    
    (deftest add-search-clause-test
    Others
    - Registered: 2022-09-30 12:00
    - Last Modified: 2022-08-13 00:42
    - 7.8K bytes
    - Viewed (0)
Back to top