com.smartclient.debug.public.sc.client.schema.DBSchema.ds.xml.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartgwt Show documentation
Show all versions of smartgwt Show documentation
SmartGWT - GWT API's for SmartClient
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 "
}
]
})