All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smartclient.debug.public.sc.client.schema.DBSchema.ds.xml.js Maven / Gradle / Ivy

The newest version!
isc.DataSource.create({
    ID:"DBSchema",
    fields:{
        name:{
            name:"name"
        },
        itemType:{
            name:"itemType"
        },
        type:{
            name:"type"
        },
        length:{
            name:"length",
            type:"integer"
        },
        primaryKey:{
            name:"primaryKey",
            type:"boolean"
        },
        path:{
            hidden:true,
            name:"path",
            primaryKey:true
        },
        parentID:{
            foreignKey:"DBSchema.path",
            hidden:true,
            name:"parentID"
        }
    },
    operationBindings:[
        {
            language:"groovy",
            operationType:"fetch",
            script:"\n            if (!com.isomorphic.auth.DevModeAuthFilter.devModeAuthorized(request)) throw new Exception(\"Not Authorized\");\n            import com.isomorphic.sql.*;\n           \n\n	    "
        }
    ]
})




© 2015 - 2024 Weber Informatics LLC | Privacy Policy